Dynamic control of magnetic tape drive

ABSTRACT

A magnetic tape drive dynamically adjusts a transport rate of tape (32) in accordance with a host data rate. The host data rate is assessed in relation to a data fill level of a buffer (116). A controller (130) of the drive compares the data fill level of the buffer with a buffer normalization value and generates an adjustment value for adjusting a signal indicative of the desired linear velocity of the tape. In one embodiment, the controller also dynamically changes the buffer normalization value to reflect e.g., historical performance of the host. In another embodiment the controller adjusts the transport rate when a head (100) is within a predetermined distance of a boundary point whereat the head must change tracks.

This application claims benefit and priority of the following UnitedStates provisional patent applications, all of which are incorporatedherein by reference:

U.S. provisional application Ser. No. 60/010,695 filed Jan. 26, 1996entitled RECORDING METHOD AND APPARATUS FOR MULTIPURPOSE DIGITALRECORDER.

U.S. provisional application Ser. No. 60/010,683 filed Jan. 26, 1996entitled METHOD FOR READ/WRITE INTERCHANGEABLE AUDIO/VIDEO DATA IN AMULTI-MODE TAPE FORMAT.

U.S. provisional application Ser. No. 60/010,682 filed Jan. 26, 1996entitled END OF TRACK WARNING IN SERPENTINE RECORDING.

U.S. provisional application Ser. No. 60/010,681 filed Jan. 26, 1996entitled METHOD FOR TILED PARTITIONING IN HARD SECTORED SERPENTINERECORDING.

U.S. provisional application Ser. No. 60/010,693 filed Jan. 26, 1996entitled RECORDING METHOD AND APPARATUS FOR MULTIPURPOSE DIGITALRECORDER.

U.S. provisional application Ser. No. 60/010,680 filed Jan. 26, 1996entitled SPARING FRAMES IN ERROR FOR A RANDOM ACCESS TAPE.

U.S. provisional application Ser. No. 60/034,092 filed Dec. 30, 1996entitled MULTIPURPOSE DIGITAL RECORDING METHOD AND APPARATUS FOR MEDIATHEREFOR.

BACKGROUND

A portion of this disclosure of this patent document contains materialwhich is subject to copyright protection. The copyright owner has noobjection to the facsimile reproduction by anyone of the patent documentor the patent disclosure, as it appears in the Patent and Trademarkoffice patent file or records, but otherwise reserves all copyrightrights whatsoever.

1. Field of Invention

This invention pertains to the magnetic tape recording, and particularlyto the control of tape speed and tape write and read operations.

2. Related Art and Other Considerations

In a magnetic tape drive, information is recordable on magnetic tape inthe form of magnetic flux transitions. The magnetic flux transitions aretypically created by a write element mounted on a head. As relativemotion occurs between the head and the tape, a track of information isrecorded on the tape. In a read mode, magnetic flux transitions recordedon tape are sensed by a read head as the read head follows a track onthe tape.

Typically, but not always, the relative motion is motion of the tapepast the head(s). Whatever one or more of the tape and the head is inmotion, the motion is usually motor driven. For example, in some tapedrives, known as cartridge drives, tape extends between supply andtake-up reels housed in a cartridge which is insertable into the drive.Typically the tape is transported in the cartridge as a result ofactivation of a motor. The motor may either cause rotation of atape-contacting capstan, a tape-contacting belt, or one or more of thereels.

In many tape drives, the speed of the motor (whether the motor moves thehead or moves the tape) is controlled by constant rate clock, usuallydriven by a crystal oscillator. In other systems, in a read mode themotor speed is controlled by information read from the tape, e.g., froma servo signal pre-recorded on the tape.

In operation, the tape drive is connected to a host. In a record mode,the host sends to the drive, and particularly to a buffer of the drive,data which is to be recorded on the tape. From the buffer the data istransmitted through a write channel to the write head(s) for recordingon the tape. In a read or reproduction mode, when the host requests datafrom the tape, the tape is read and data transduced therefrom istransmitted to the host via a read channel and the buffer. The tapereading and recording operations are conducted at constant rates, e.g.,in accordance with a fixed clock signal generated by a crystaloscillator.

The host has its data rates for transferring data to or from a tapedrive. Efforts are usually made to obtain compatibility of the datarates of the host compatible and the tape reading and recordingoperations of the drive by matching the devices or independentlyadjusting transfer parameters in one or more of the devices. But thevery nature of tape drive operation precludes perfect compatibility. Infact, the buffer is necessitated by differences in the actual data ratesof the host and of the drive. For example, certain physical operationsof the drive, such as a change of track, create situations in which thedata rate of the host cannot maintain the supply of or requirement fordata by the drive. The typical resolution to data rate mismatch isinsuring that the buffer is of a sufficiently large size to accommodatethe data rate incongruity in envisioned circumstances. However, theprice of buffer memory is expensive, and the buffering of large amountsof data increases complexity of operation of the drive.

What is needed therefore, and an object of the present invention, is adynamic linking of the data rate of a host and the data rate of amagnetic tape drive.

SUMMARY

A magnetic tape drive dynamically adjusts a tape transport rate inaccordance with a host data rate. The host data rate is assessed inrelation to a data fill level of a buffer. A controller of the drivecompares the data fill level of the buffer with a buffer normalizationvalue and generates an adjustment value for adjusting a signalindicative of the desired linear velocity of the tape.

In one embodiment, the controller also dynamically changes the buffernormalization value to reflect e.g, historical performance of the drive.In another embodiment the controller adjusts the buffer normalizationvalue when a head is within a predetermined distance of a boundary pointwhereat the head must change tracks.

The controller also dynamically adjusts a transfer channel data rate,e.g, the rate of recording data to the tape or reproducing data from thetape, in accordance with the transport rate. To do so, in one embodimentthe controller uses a signal recorded on the tape or derived from thetransport rate to control an output signal of the variable oscillator.The output signal of the variable oscillator controls the transferchannel data rate. The signal recorded on the tape is a preferably aburied servo signal. In another embodiment, the controller uses a signalfrom a sensor which is indicative of the desired transport rate.

BRIEF DESCRIPTION OF THE DRAWINGS

The foregoing and other objects, features, and advantages of theinvention will be apparent from the following more particulardescription of preferred embodiments as illustrated in the accompanyingdrawings in which reference characters refer to the same partsthroughout the various views. The drawings are not necessarily to scale,emphasis instead being placed upon illustrating the principles of theinvention.

FIG. 1 is a schematic diagram showing usage of a tape media formattedaccording to the present invention in a plurality of types of devices,including an audio/visual device, a random access device, and asequential device.

FIG. 2 is a schematic view of showing the interrelationship of FIG. 2Aand FIG. 2B.

FIG. 2A and FIG. 2B are schematic views of hardware elements included ina device according to the invention which operates upon the tape mediaof the invention.

FIG. 3 is a front view of a head unit included in the device of FIG. 2.

FIG. 4 is a schematic diagram showing a magnetic tape formatted into sixbands, each band comprising four track groups, each track groupcomprising eight tracks.

FIG. 5 is a schematic diagram showing a band of the magnetic tape formatof FIG. 4.

FIG. 6 is a schematic view of a general format of a magnetic tapeaccording to an embodiment of the invention.

FIG. 7 is a schematic view of physical frame layout on tape.

FIG. 8 is a schematic view of tape showing buried servo formatting of aframe of magnetic tape.

FIG. 9 is a cross-sectional view of tape media utilized by the presentinvention, particularly showing location of the buried servo or trackingsense (TS) signal.

FIG. 10 is a graphical depiction of signals applied to recovery circuitsof the present invention for recovery of a buried servo signal.

FIG. 11 is a schematic view of a block of information included in aframe on magnetic tape in accordance with an embodiment of theinvention.

FIG. 12 is a schematic view of an eight channel data frame.

FIG. 13 is a schematic view of a tape with an example of configurationor control partition.

FIG. 14 is a schematic view of an example of vertical partitioning oflogical frames.

FIG. 15 is a schematic view of an example of track ordering in verticalpartitioning.

FIG. 16 is a schematic view of an example of horizontal partitioning oflogical frames.

FIG. 17 is a schematic view of an example of track ordering inhorizontal partitioning.

FIG. 18 is a schematic view of a tiled combination of horizontal andvertical partitions on magnetic tape media.

FIG. 19 is a schematic view of configuration or control frames on tapegenerally.

FIG. 20 is a schematic view of a tape showing an example of logicalframe addressing.

FIG. 21 is a schematic view of magnetic tape media having variouspartition-related markers and flags of the present invention.

FIG. 22 is a schematic view illustrating partition definitioncoordinates.

FIG. 23 is a schematic view of example of control frames and A/Vprograms on A/V Data tape.

FIG. 24 is a schematic view of example of control frames on a randomaccess tape without A/V Data.

FIG. 25 is a schematic view of example of control frames on a randomaccess tape with A/V Data.

FIG. 26 is a schematic view of example of control frames on streamingtape without A/V Data.

FIG. 27 is a schematic view of example of control frames on streamingtape with A/v Data.

FIG. 28 is a schematic view of a example of a logical frame sequence, noerror conditions.

FIG. 29 is a schematic view of a first example of a rewrite logicalframe sequence.

FIG. 30 is a schematic view of a second example of a rewrite logicalframe sequence.

FIG. 31 is a schematic view of third example of a rewrite logical framesequence.

FIG. 32 is a schematic view of a fourth example of a rewrite logicalframe sequence.

FIG. 33 is a schematic view of a logical frame sequence as readfollowing a servo error during write.

FIG. 34 is a flowchart showing steps executed when a host computerrecords data on a multipurpose tape of the present invention.

FIG. 35 is a flowchart showing steps executed in connection with a writeof A/V data to a multipurpose tape of the present invention.

FIG. 36A, FIG. 36B, FIG. 36C, FIG. 36D, and FIG. 36E are schematic viewof alternative embodiments of a tape speed controller according to anembodiment of the invention.

FIG. 37 is a schematic view of a variable clock controller according toa first embodiment of the invention.

FIG. 37A is a schematic view of a variable clock controller according toa second embodiment of the invention.

FIG. 38 is a schematic view of a tape in accordance with a submode ofthe invention wherein frames are re-recorded at a reserved location, thereserved location comprising a physical frame which shares a same trackwith the original physical frame location at which a frame is recorded.

FIG. 38A is a flowchart showing steps involved in a re-recordingprocedure for frame according to the submode of FIG. 38.

FIG. 38B is a flowchart showing steps involved in a read procedure forreconstructing a file containing a spared frame according to the submodeof FIG. 38.

FIG. 39 is a schematic view of a tape in accordance with a submode ofthe invention wherein frames are re-recorded at a reserved location, thereserved location comprising a physical frame which is on a differenttrack than the track on which the defective frame is originallyrecorded.

FIG. 39A is a flowchart showing steps involved in a re-recordingprocedure for frame according to the submode of FIG. 39.

FIG. 39B is a flowchart showing steps involved in a read procedure forreconstructing a file containing a spared frame according to the submodeof FIG. 39.

FIG. 40 is a schematic view showing a plurality of spare track groups orframes recorded on tape in accordance with the submode, of FIG. 32.

FIG. 40A is a schematic view showing a bidirectional spare track inaccordance with the submode of FIG. 39.

FIG. 41 is a schematic view of tape showing modulation of a buried servosignal on magnetic tape.

FIG. 42 is a top view of a system for recording a buried servo signal ontape.

FIG. 43 is a side view of a recording head of the system of FIG. 42.

FIG. 44 is a schematic view of a format of a buried header region onmagnetic tape according to an embodiment of the invention.

DETAILED DESCRIPTION OF THE DRAWINGS

In the following description, for purposes of explanation and notlimitation, specific details are set forth such as particulararchitectures, interfaces, techniques, etc. in order to provide athorough understanding of the present invention. However, it will beapparent to those skilled in the art that the present invention may bepracticed in other embodiments that depart from these specific details.In other instances, detailed descriptions of well known devices,circuits, and methods are omitted so as not to obscure the descriptionof the present invention with unnecessary detail.

The present invention concerns both a Multi Purpose Digital Recorder(MPDR) and method for operating the same, as well as a specific mediaformat. FIG. 1 shows a cartridge 30 wherein MPDR media, specificallymagnetic tape 32, extends from supply reel 34 to take-up reel 36. Tape32 is transported in cartridge 30 by cartridge belt 37, which extendsaround capstan puck 38. In the illustrated embodiment, tape 32 has aburied servo signal TS prerecorded thereon, as subsequently explained.While some aspects of the present invention require the buried servo ortrack sense (TS) signal, other aspects of the invention do not andshould be understood not to be so limited.

By virtue of its multipurpose format, tape 32 is utilizable by aplurality of types of devices. For example, FIG. 1 shows cartridge 30with tape 32 therein being selectively loadable into an audio/visual(A/V) type device 44; a random access type device 46; and a sequentialaccess type device 48. Bidirectional arrows 54, 56 and 58 indicate thatdevices 46 and 48, respectively, can read information from and recordinformation on tape 32. A/V device 44 does not record on multipurposemedia, but can record on single purpose tape (e.g., a VCR recording ontape). As explained subsequently, the information recorded on tape 32 bydevices 46 and 48 can be either audio/visual (A/D) data or non-A/V data.

As further shown in FIG. 1, audio/visual (A/V) device 44 is connected toan A/V reproduction device, e.g., television 64, which is one form of autilization device. Random access device 46 and sequential access device48 are also connected to utilization devices, particularly to hostcomputers 66 and 68 respectively. Host computers 66, 68 have respectiveinterfaces 66I, 68I for communicating with devices 46, 48, respectively;host memories 66M, 68M; and host processors 66P, 68P. It should beunderstood that devices 46 and 48 could, alternatively, both beconnected to a single host computer.

Random access device 46 and sequential access device 48 are examples ofmultipurpose digital recorders or multipurpose digital devices of thepresent invention. An example of audio/visual device 44 is aRecorder/Player which has the basic minimum functionality of an advancedtelevision VCR or CD-Audio player. Random access device 46 locates anyphysical frame on the tape and is capable of reading or writing thatframe. An example of sequential access device 48 is a streaming orserpentine tape recording system.

As used herein, unless otherwise clear from the context, the term"device" refers collectively to any one of A/V device 44, random accessdevice 46, and sequential access device 48. For this reason, at timesthe terminology "device 40", "system 40", "drive 40" or "drive system40" may be employed to mean any of A/V device 44, random access device46, and sequential access device 48. Thus, it should be understood thatsystem 40 can function either as an audio/visual device, a random accessdevice, or a sequential access device, or as a combination of any two ormore of such devices. Further in this regard, it should be understoodthat FIG. 2 and FIG. 3 are generic depictions of an embodiment ofhardware included in device 40, e.g., any one of the devices 44, 46, and48.

FIG. 2 shows a magnetic drive system 40 for transducing information(e.g, recording information on and reading recorded information from)with respect to an information storage medium which, in the illustratedembodiment, is magnetic tape 32. As shown in FIG. 3, in drive system 40tape 32 is transported either in a forward direction (denoted by arrow98) or a reverse direction (denoted by arrow 99) past head unit 100, theforward and reverse directions both being parallel to an axis TX of tapeelongation.

In a recording mode, depending on direction of movement of tape 32, aplurality of write elements mounted on head unit 100 cause magneticsignals to be recorded on horizontal tracks on tape 32. In theembodiment shown in FIG. 3, eight write elements 102W_(F-1) through102W_(F-8) record eight respective tracks when head unit 100 moves inthe forward direction. Likewise, eight write elements 102W_(R-1) through102W_(R-8), record eight respective tracks when head unit 100 moves inthe reverse direction. For sake of simplicity, any one of the writeelements may be referred to herein as write element 102. All such writeelements 102 are preferably inductive elements. Tape 32 has a tophorizontal physical edge 32E_(T) and a bottom horizontal physical edge32E_(B).

In a reading or reproduction mode, a plurality of read elements mountedon head unit 100 cause magnetic signals to be read from horizontaltracks recorded on tape 32. In the embodiment shown in FIG. 3, eightread elements 104R_(F-1) through 104R_(F-8) read eight respective trackswhen head unit 100 moves in the forward direction. Likewise, eight readelements 104R_(R-1) through 104R_(R-8) read eight respective tracks whenhead unit 100 moves in the reverse direction. For sake of simplicity,any one of the read elements may be referred to herein as read element104. For reasons hereinafter apparent with respect to a description ofburied servo signals, all such read elements 104 are preferablymagnetoresistive elements.

As used herein, the term "element" includes any structure suitable fortransducing information, including inductive magnetic gaps andmagnetoresistive material. While preferable types of elements have beenmentioned, it should be understood that the invention is not so limited.

Tape 32 has a top horizontal physical edge 32E_(T) and a bottomhorizontal physical edge 32E_(B). Head unit 100 is vertically adjustable(e.g., between edges 32E_(T) and 32E_(B) in the direction depicted byarrow 106). In a recording mode, repeated vertical adjustment of headunit 100 yields a plurality of parallel, horizontal tracks subsequentlydescribed with respect to FIG. 5.

As shown in FIG. 2, magnetic tape drive system 40 (also known as a tape"deck" system) includes utilization interface 110; deck assembly 112;driver section 114; buffer memory 116; formatter/deformatter 118; signalprocessing section 120; and control processor 130 (also known asmicroprocessor 130). As explained subsequently, control processor 130has firmware (e.g., processor 130 executes sets of coded instructions)for controlling and coordinating various activities and events of drivesystem 40.

Firmware included in processor 130 includes buffer manager 131 (whichhas buffer fill monitor 132); tape speed controller 133; variable clockcontroller 134; tape location detector 135; and, tape/volume manager136. It should be understood that processor 130 also executes numerousother types of instructions which are not described herein as beingunderstood by the person skilled in the art and unnecessary forexplanation of the present invention. Moreover, while FIG. 2 showsvarious connections of processor 130 for purposes hereinafterelaborated, it should be understood that other connections understood bythe person skilled in the art are not necessarily shown, includingconnections for various control, interrupt, and data transfer purposes.

Deck assembly 112 includes head unit 100 with its write elements 102 andread elements 104 as previously discussed. In addition, deck assembly112 also has positioner motor 144 for positioning head unit 100 so thathead unit 100 has a component of travel in the vertical directiondepicted in FIG. 3 by arrow 106. In the illustrated embodiment,positioner motor 144 is a linear-type voice coil motor which controls aroller bearing assembly for repositioning head unit 100 relative to awidth or transverse dimension of tape 32 in conventional manner. As usedherein, the width dimension of tape 32 refers to the vertical directiondepicted by arrow 106, and thus is substantially orthogonal to thehorizontal direction depicted both by forward direction arrow 98 andreverse direction arrow 99.

Deck assembly 112 also includes a capstan motor 150 which serves torotate capstan puck 152 of drive 40. Capstan puck 152 is in contact withcartridge capstan puck 38 (see FIG. 1) which via belt 37 transports tape32 in the horizontal direction (either forward or reverse, depending onthe direction of drive applied to capstan motor 78) during recording andreading operations. The rotational velocity of capstan 152 is monitoredby capstan speed sensor 154. In one embodiment, capstan speed sensor 154comprises Hall Effect sensors which are used to determine the rate ofrevolution of capstan motor 150.

As also shown in FIG. 2, magnetic tape drive system 40 includes driversection 114. Driver section 114 includes various driver circuitsconnected to hardware installed in deck assembly 112, particularlycapstan motor driver 156 and positioner motor driver 158. Capstan motordriver 156 is connected to capstan motor 150; positioner motor driver158 is connected to position motor 144.

Tape drive system 40 also includes signal processing section 120. Signalprocessing section 120 has a voltage controlled oscillator (VCO) 160which receives a signal on line 161 from variable clock controller 134.VCO 160 applies a feedback signal on line 162 to variable clockcontroller 134. Signal processing section 120 has an output or recordingside and an input or reading side, both of the sides utilizing an outputsignal from VCO 160.

The output or recording side of signal processing section 120 comprisesa write driver 164. Write driver circuit 164 is connected by eightchannel line 167 inter alia to apply recording signals to the pluralityof write elements 102 during recording operations in accordance withclock signals generated by VCO 160 in the manner hereinafter described.

The input or reading side of signal processing section 120 receives (online 169) an acquisition signal sensed from a read element(s) 104mounted on head unit 100. Signal processing section 120 includes switch170 and read recovery circuit 172. Recovery circuit 172 includes servoclock recovery circuit 174; servo position recovery circuit 176; anddata recovery circuit 178. Each of recovery circuits 174, 176, 178receives an output signal of VCO 160 for timing purposes. In addition,each of recovery circuits 174, 176, 178 receives appropriate channels ofthe read signal as such channels are multiplexed thereto by switch 170.While data recovery circuit 178 receives all eight channels of the readsignal acquired on line 169, recovery circuits 174 and 176 received onlytwo and six channels, respectively. Since recovery circuits 174 and 176read the lower frequency buried servo sense TS signal, which two of theeight channels are multiplexed to recovery circuit 174 and which six ofthe eight channels are multiplexed to recovery circuit 176 at any giventime depends on the position of head unit 100 relative to tape 32.

Servo position recovery circuit 176 serves to process the buried servosense TS signal on six of the eight channels in order to determinewhether head unit 100 is properly following tracks recorded on tape 32.Servo clock recovery circuit 174 serves to process the buried servosense TS signal on two of the eight channels in order to obtain a servoclock signal TS_(C). Servo clock recovery circuit 174 generates aninterrupt on line 179 at the beginning of each cycle of servo clocksignal TS_(C) and applies the interrupt to variable clock controller134, to tape position detector 135, and (at least in some embodiments)to tape speed controller 133. Servo clock recovery circuit 174 isconnected to apply the recovered servo clock signal TS_(C) to clockmodulation detector circuit 180. Clock modulation detector circuit 180generates an interrupt on line 181 upon detection of an intermediate(i.e., negative-going) zero crossing transition of servo clock signalTS_(C). Interrupt line 181 is connected to modulation decoder and tapelocation detector 135.

Processor 130 is connected to via utilization interface 110 to autilization device (e.g, utilization devices 64, 66, or 68 shown in FIG.1). Processor 130 communicates with various other constituent members ofdrive system 40 in conventional manner using bus system 184. Inparticular, processor 130 communicates over bus system 184 with aformatter/deformatter 118 and buffer memory 116. Although not shown, itshould be understood that DMA devices interface buffer memory 116 andformatter/deformatter with bus system 184.

Buffer manager 131 administers buffer memory 116. Buffer memory 116temporarily stores user data in a write operation which is in route fromthe utilization device (e.g, a host computer) to tape 32 (viaformatter/deformatter 118 and write driver 164) and user data in a readoperation which is in route from tape 32 (via data recovery circuit 178and formatter/deformatter 118) to the utilization device. Buffer memory116 is also used as a location for building data structures for what arehereinafter referred to as configuration frames, as well as datastructures which are hereinafter termed AUX data structures. These datastructures are built in buffer memory 116 by tape/volume manager 136acting through buffer manager 131.

As one aspect of its administration of buffer memory 116, buffer managerhas buffer fill monitor 132 which keeps track of the amount of user datain buffer memory 116. As described in more detail in §7.3, buffer fillmonitor 132 provides input to tape speed controller 133 of processor130.

In a write mode, formatter/deformatter 118 forms a physical frame forwriting on tape by integrating together user data from buffer memory 116and a corresponding AUX data structure prepared by tape/volume manager136 in buffer memory 116, and error correction information (C1, C2)generated over the frame. In a read mode, formatter/deformatter 118interprets a frame obtained from tape via data recovery circuit 178 inorder to obtain user data, an AUX data structure, and error correctioninformation, and performs checking and error correction (if needed) forthe frame.

An output signal from tape speed controller 133 is applied to capstanmotor driver 156 for use in controlling the rotational speed of capstanmotor 150. The actual rotational speed of capstan motor 150 isdetermined by capstan speed sensor 154, which outputs a signal on line186 to tape speed controller 133 and variable clock controller 134 ofprocessor 130.

1 APPENDICES 1.1 Definitions and Requirements

A set of alphabetized definitions is provided as an Appendix I. A set ofbyte and code requirements is provided as Appendix II.

2 FORMAT OVERVIEW

FIG. 6 shows tape 32 starting with hub wrap lead region NML 200,followed by a beginning of tape lead-in zone 202; followed by scratcharea 204; followed by buried header region 206; followed by pad region208; followed by a start of track marker 210; followed by data area ordata region 212; followed by an end of track marker 214; followed by anend of tape lead-out zone 216; followed by hub wrap lead region NML 218.An overview of the format of the data region 212 is below provided.

In data region 212, tape 32 is divided into six bands BAND₀ -BAND₅ asshown in FIG. 4. At any given time, the heads of head unit 100 are overone of bands BAND₀ -BAND₅. At the moment of time illustrated in FIG. 4,the heads happen to be over BAND₅. FIG. 5 is a detailed view of BAND₅ ofFIG. 4, and serves to provide a representative illustration of theformatting of each of the six bands. As shown in FIG. 5, each bandincludes thirty-two physical tracks.

Eight parallel channels on eight physical data tracks form a trackgroup, which from a logical perspective becomes a single virtual trackand is therefore also known as a logical track. Logical track 3 andlogical track 1 are specifically labeled in BAND₅ of FIG. 5. Each of theeight channels is separated by three tracks which are members ofneighboring logical tracks. Four logical tracks (32consecutive physicaltracks) form a band, a logical track is always contained within a band,no logical track may span across two bands.

In data region 212, data is organized into frames, each frame beinginterleaved across all eight data channels which form a logical track.FIG. 7 shows a physical frame layout for data region 212. Each frame 220is synchronized to the buried servo or tracking sense (TS) signal.

2.1 Buried Servo Signal

A buried servo or tracking signal TS is recorded on tape 32. Buriedservo signal TS is recorded on at least one track and preferably alltracks of a logical track (see FIG. 5). Buried servo signal TS isrecorded by the manufacturer of tape 32 at frequency which is much lowerthat the frequency at which the user records data on the tape (e.g.,1425 times lower), and thus is distinguishable from the user data andaccordingly is known as deep buried servo.

As shown in FIG. 9, tape 32 has tape substrate 32S. Upon tape substrate32S is formed a tape buried layer 32BL. Tape data layer 32DL is formedover tape buried layer 32BL. Buried layer 32BL has the track sense (TS)signal or buried servo signal recorded thereon at low frequency.Positive flux directions TS+and negative flux directions TS- of buriedservo signal TS are shown in FIG. 9. Positive flux directions of thedata signal are shown in FIG. 9 as DS+, while negative flux directionsof the data signal are shown in FIG. 9 as DS-. Flux transitions areshown by the boundaries separating the directional arrows in FIG. 9

As shown in FIG. 8, each of the tracks of a logical track have theburied servo signal TS recorded thereon. Each of the read elements 104of head unit 100 pick up the buried servo signal TS for the respectivetracks which they follow. At least one, and potentially as many as two,of the read elements 104 acquire the buried servo signal for the purposeof deriving the servo clock signal TS_(c). At least one of six others ofthe read elements 104 acquire the buried servo signal for the purpose ofdetermining whether head unit 100 is properly aligned (e.g., iscorrectly following the horizontal tracks on tape 32). Switch 170 ofsignal processing section 120 (see FIG. 2) multiplexes the channels ofthe buried servo signals as acquired by read elements 104 to one ofservo clock recovery circuit 174 and servo position recovery circuit176. Whether a channel of recovered buried servo signal is multiplexedto circuit 174 or 176 depends upon which of the logical tracks and bandsof tape 32 are currently being read. FIG. 10 shows signals applied byswitch 170 to circuits 174 and 176. In particular,, signals TS, areacquired by as many as two of the read elements 104 for processing byservo clock recovery circuit 174, while signals TS_(p) are acquired bythe six remaining read elements 104 for processing by servo positionrecovery circuit 176. The read elements 104 which acquire signals TS_(p)are positioned such that buried servo signal TS from adjacent tracks ofa logical track cancels out when head unit 100 is properly following thehorizontal tracks, for which reason signals TS_(p) are shown as beingflat or zero in FIG. 10.

As shown in FIG. 10, servo clock signal TS_(c) has a plurality ofcycles, one such cycle being indicated in FIG. 10 as "cyc". Each cycleextends between consecutive positive-going zero crossing or transitionsof servo clock signal TS_(c), there being an intermediate ornegative-going zero crossing or transition "x" in between theconsecutive positive going transitions. It should be understood thatcycles of servo clock signal TS_(c) can be delineated in other manners,such as conversely (e.g., with the cycle assessed between consecutivenegative-going crossings).

As shown in FIG. 10, a plurality of consecutive cycles of servo clocksignal TS_(c) constitute a "set". Although not required to be such, inthe context of the described embodiment a set happens to be the same asa data frame on tape 32. In the illustrated embodiment, each set, e.g,frame, has thirty six cycles. It should be understood that, in otherembodiments, the number of cycles per set (e.g., frame) can be a greateror lesser number. In fact, the number of cycles per set (e.g., frame)need not necessarily be constant from one set to another, as theencoding of the buried servo signal as subsequently elaboratedcontemplates that the number of cycles can vary from set to set so longas the number of cycles for each set is foreknown or otherwisediscernable. Moreover, the invention is not limited to any particularmanner in which modulation values are assigned or associated withsegments of the servo clock signal TS_(C), as it should be understoodthat other aspects of the servo clock signal TS_(C) can be utilized asdelineators for acquiring modulation values.

As shown in FIG. 10, all but one of the cycles of each set (e.g., frame)are symmetrical. That is, all but one of the cycles of each set haveintermediate zero crossings at the same location (i.e., in the middle ofthe cycle). A selected one of the cycles, which differs from othercycles of the set, has an intermediate zero crossing which isasymmetrical with respect to non-selected zero crossings. Preferably theselected cycle of a set, e.g., the asymmetrical zero crossing, is eitherthe first cycle (with its intermediate transition x₀ illustrated in FIG.10) or the last cycle (i.e, the thirty sixth cycle) of a set. The orderof the selected cycle within a set, e.g., being the first cycle or thelast cycle, can consistently apply through all sets. Alternatively, theorder of the selected cycle can vary from set to set in accordance withpredetermined criteria, e.g., the selected cycle of the first set can bethe first cycle, the selected cycle of the second set can be the secondcycle, or some other cycle assigning rule.

FIG. 10 shows a situation :Ln which each set has its first cycle as theselected cycle. The first cycle has its intermediate transition x₀asymmetrical by virtue of being closer to the previous positive-goingzero crossing transition rather than equidistantly spaced betweenadjacent positive-going transitions. An asymmetrical transition occurseither earlier or later than the time at which the transition wouldoccur if it were symmetrical with other cycles in the frame. Having aselected cycle with an asymmetrical intermediate transition is anexample of modulation of servo clock signal TS_(c).

Whereas in FIG. 10 the first cycle of a set as being asymmetrical byreason of its intermediate transition x₀ occurring earlier thansymmetrical intermediate transitions in other cycles, it should beunderstood that instead the first cycle could be modulated to have itintermediate transition x₀ occurring later than symmetrical intermediatetransitions for other cycles of the set (e.g., closer to the followingpositive-going zero crossing transition than to the previouspositive-going zero crossing transition). Moreover, in otherembodiments, a set (e.g., frame) may have more than one selected cyclefor obtaining e.g., a corresponding number of modulation values per set.As subsequently described in §7.6, the present invention contemplatesvarious techniques for using modulations in order to provide modulationvalues useful for tape information and encoding schemes.

In the context of tape 32 herein described, each frame 220 issynchronized to the buried servo signal TS, and all frames 220 are ofthe same length and interval as measured by the buried servo signal TS.All tracks on a tape have the same number of cycles of servo clocksignal TS_(c), and thus all tracks on a tape have the same number offrames.

Servo clock recovery circuit 174 (see FIG. 2) applies an interrupt online 179 when a positive-going zero crossing transition of servo clocksignal TS_(c) is detected (e.g., the beginning of a cycle of servo clocksignal TS_(c)). Clock modulation detector 180 applies an interrupt online 181 when a negative-going zero crossing transition (e.g., anintermediate transition) is detected.

Synchronization of frames to the buried servo pattern results in a "hardsectored" format, where each frame relates to a specific x,y coordinateof the media 32 relative to the buried servo signal. The x coordinate isdirectly related to the number of cycles in the servo signalhorizontally on the tape, the y coordinate is directly related to thelogical track vertically on the tape. Each frame location is assigned aunique physical frame number. Because physical frame numbers are linkedto frame locations and not to frames in the order that they are written,the physical frame number assignment is fixed from the time that theburied servo signal is embedded on the tape 32.

Use of a buried servo signal is just one way of producing a hardsectored tape. Hard sectored is understood to be any formatting methodthat predetermines the location of each block or frame on tape.

2.2 Physical Frames

In data region 212 (see FIG. 6), data is organized into frames, eachframe being interleaved across all eight data channels which form alogical track. Reference is again made to FIG. 7 for a physical framelayout for data region 212. In FIG. 7 the small blocks representphysical frames, y represents the logical track number, and x representsa frame's horizontal position on tape 32 as determined by the buriedservo signal (see §2.1). In the frames on the EOT end of the tape dataarea, t represents the number of logical tracks (t=24 in the illustratedembodiment), and f represents the total number of frames per track. Eachphysical frame is an independent data construct, and as such all writeand read operations must be performed on whole physical frames.

As each read head 104 travels down a physical track of tape 32,successive blocks are acquired, there being seventy six blocks perphysical track per frame. FIG. 11 shows a format of the first sixty fourblocks encountered per physical track of each frame 220 on tape 32accordance with an embodiment of the invention. Each block of FIG. 11begins with a synchronization pattern (14 channel bits), followed by anidentification symbol, followed by a AUX symbol, followed by sixty fourdata symbols, followed by six C1 parity symbols.

The blocks of information for a frame are interleaved to form the eightproduct code panes shown in FIG. 12. As shown in FIG. 12, each frameincludes an ID (Identification), user data, AUX data, C1 parities, andC2 parities. As will become more apparent hereinafter, each frame 220includes an AUX data structure 300. Brief introduction is here made thatthe AUX data structure 300 is 512 bytes per frame and is used as theprimary control record for each frame. The user data is 32 KB and isused for the recording of user data in a data frame, or as parameterdata structure space in the case of a special control frame.

The user data and AUX data thus read for a frame 220 is loaded intobuffer memory 116 (see FIG. 2) so that the data can be accessed in themanner illustrated in FIG. 12 and for the reasons described below.

2.3 Partitioning

In order to facilitate data management and to provide methods ofimproving seek times, the tape 32 is logically divided into partitions.A partition is a logical subdivision of the medium into smallerindependent units. Each partition has a logical BOM and EOM, which arecalled BOP and EOP respectively. The Logical Frame Address and logicalblock address count from zero from BOP. All newly created partitions areassigned a tape device model.

The tape data area 212 is divided into logical partitions. All types ofdevices 44, 46, and 48 support a configuration partition in a reservedarea at BOT. The configuration partition is identified as partition -1(FFh) see FIG. 13!. The user data area of the tape may be partitionedvertically, horizontally, or in a tiled fashion. Partition geometry canbe optimized for the type of data to be stored. The configurationpartition is provided for configuration and directory information usedby the device, no user data is stored in the configuration partition.

All partitions are configured as a rectangular collection of physicalframes. All partition boundaries occur on frame and logical trackboundaries. No partial frames exist within a partition. Partitionboundaries are identified on tape through the use of a partitiondirectory, and through the use of a partition control field in the AUXdata structure 300. As each partition is a logically independent unit,logical frame numbers and logical block numbers count from zero in eachpartition.

A vertical partitioning method is illustrated in FIG. 14 and FIG. 15,and is particularly suitable for the random access device model. In thedrawings the physical block positions are shown as the ordered pair(x,y), where x is the physical frame on track and y is the logicaltrack, there being f frames on each track and m frames on each track inpartition 0. Vertical partitioning allows for decreased seek timeswithin related data. Long seek times in serpentine tape are due to tapetravel times along the x axis. By restricting a data partition to alimited length in the x dimension, seek times between any two logicalframes within a partition can be reduced.

A horizontal partitioning method, illustrated in FIG. 16 and FIG. 17,separates partitions along logical tracks. This is a traditionalpartitioning method for serpentine tape. Horizontal partitioning allowsrapid access to the beginning of each partition from BOT, as well aslong linear data feeds due to fewer track changes.

3. DEVICE MODELS 3.1 Supported Device Models

The MPDR logical format is designed to support three different devicetypes: (1) a sequential access or streaming type device 48; (2)Audio/Video Sequential Access--A/V type device 44; and (3) Random Accesstype device 46 (see FIG. 1). The logical format of tape 32 according tothe present invention provides sufficient resources for an interchangeof A/V data between all three models on a readonly basis. The ability towrite cross-platform, or to interchange non-A/V data across platformsshall be implementation dependent.

3.2 Common Model Aspects 3.2.1 Media Volume Characteristics

The recording medium for tape devices consists of various widths andlengths of a flexible substrate coated with a semi-permanent magneticmaterial (see FIG. 9). The recording medium is wound onto reel hubs andencapsulated into cartridge 32 containing both a supply reel 34 and atake-up reel 36 (see FIG. 1).

A complete unit, which is composed of the recording medium and itsphysical carrier (the cartridge), is called a "volume". Volumes have anattribute of being mounted or demounted on a suitable transportmechanism. "Mounted" is the state of a volume when the device isphysically capable of executing commands that cause the medium to bemoved. A volume is "demounted" when it is being loaded, unloaded or whennot installed in the device. The write enabled or write protected statedetermines when a host may write information on a volume. This attributeis controlled by the user of the volume through manual intervention bysetting a mechanical write protect switch on the cartridge.

The recording medium has two physical attributes calledbeginning-of-medium (2OM) and end-of-medium (EOM). Beginning-of-mediumis at the end of the medium that is attached to the take-up reel 36.End-of-medium is at the end of the medium that is attached to the supplyreel 34. As shown in FIG. 6, the entire physical length of medium is notusable for recording data. A portion of the medium is reserved beforethe beginning-of-medium and after the end-of-medium position. This isdone to provide sufficient tape wraps onto the reel hub(s) and to ensurethat recording starts in an undamaged section of the medium. At no timedoes a device operate in either of the attachment regions. Operation inthe attachment region risks unspooling the tape from either hub.

3.2.2 Direction and Position Definitions

For devices, positioning has the connotation of logically being in, at,before or after some defined place within a volume. This definitionmeans the position is capable of being repeated under the samecircumstances. The orientation of usage for the four words (in, at,before or after) is in one direction, from BOPx toward EOPx. Allpositioning defined below is worded from this perspective.

The forward direction is defined as logically progressing from BOPxtoward EOPx. The reverse direction is defined as logically progressingfrom EOPX toward BOPX. In serpentine devices, the logical forward orreverse direction has an alternating relationship to the physical motionof the medium.

The idea of being "in" some position means not being outside a definedregion. The definition allows the position to be on the boundary of adefined region. When a volume is first loaded, the logical position isalways at the beginning of the default data partition (BOP0). Whenever avolume is mounted and the medium motion is stopped, the position is insome partition. While moving between partitions, there is no stableposition.

The idea of being "at" some position indicates being positioned to alogical or physical extremity of a partition. A Streaming Tape Devicemay be positioned at beginning-of-medium, at BOPX, at end-of-data (EOD),at EOPx, or at end-of-medium (EOM), since these are stable positions atextremities of a partition.

The idea of being "before" some position indicates that there is someelement (data block, filemark or other defined point) which may beencountered when moving toward EOPx, if the proper commands are issued.Being positioned before a particular data block means that if the devicereceives a valid READ command, the data block is transferred to theHost. This position may also be before EWx and EOPx, since these aredefined points within any partition. However, if data has not beenwritten to the end-of-partition, these points may not be accessible bythe Host.

The idea of being "after" some position indicates that there is someelement (data block, filemark, or other defined point) on the BOPx sideof the current position that may be encountered if the proper commandsare issued. When a READ command for a single data block has beensuccessfully executed, the logical position is after the transferreddata block.

3.2.3 Logical Elements within a Partition

The area between BOP x and EOP x on a typical recorded volume containshost accessible elements, which are principally data blocks. A unit ofdata supplied or requested by a host is called a logical block. Logicalblocks may be recorded in one or more tape frames on the medium. Whenthe logical blocks are not recorded in a one-to-one relationship to thetape frames, it is the responsibility of the device to perform allblocking, de-blocking, padding, stripping, splitting or rebuilding ofthe logical data block(s) sent by a host.

In the streaming type device 48,(e.g., sequential access device), atypical recorded volume contains at least two types of host accessibleelements, which are data blocks and tape marks.

For a sequential access type devices, filemarks are special recordedelements containing no user data. Applications traditionally usefilemarks to separate user data from labels and logical groupings ofdata from each other. A setmark is another type of special recordedelement containing no user data, providing a segmentation schemehierarchically superior to filemarks. This level of segmentation isuseful for some high capacity storage devices to provide conciseaddressing and fast positioning to specific sets of data within apartition.

For sequential access type devices, writing data from BOP x, the mediumis considered to be a contiguous grouping of blocks, filemarks, andsetmarks, terminated with an EOD mark. The data space on the mediumbeyond EOD (within the active partition) is considered to be blank. Eachpartition has an EOD. Unrecorded volumes (new or erased) may exhibitblank medium characteristics if an attempt is made to read or space thevolume before data has been written.

A sequential access type device may be capable of supporting fixed orvariable length blocks. The concept of fixed or variable mode forwriting and reading blocks only indicates the method by which the hostspecifies the size of a logical block for transfer and not the method ofrecording tape frames on the medium. The length of a logical block isalways described in bytes.

3.2.4 Append Operations

For the sequential access type device, the appendable points exists atthe BOP side of an EOD mark, a Filemark, or a Setmark. The EOD mark,Filemark, or Setmark, and any data following the appendable point areoverwritten.

In the random access type device, each tape frame may be independentlywritten or overwritten. Every tape frame is a potential appendablepoint.

4 LOGICAL DATA FORMAT

The content of frames 220 was discussed previously with reference toFIG. 12. All physical frames 220 have an AUX data structure 300 shown inTable 1. Each frame 220 is assigned a frame type. In particular, theframe type of a frame 220 is defined in AUX data structure 300 of theframe.

4.1 AUX Data Structure

A principal tool for implementing the logical format is AUX Datastructure 300 (see FIG. 12). Each tape frame contains 32 Kbytes of datastorage space plus 512 bytes of AUX data structure 300. The AUX datastructure is set aside as a control field area for use by the device inorder to navigate and catalog the information recorded on the tape.

User data from the host is loaded into buffer memory 116 in 32 Kbytechunks. For each chunk of user data, tape/volume manager 136 builds a512 byte AUX data structure 300. After the AUX data structure is built,the AUX data structure is integrated with its corresponding user data byformatter/deformater 118 and placed (along with other fields includingC1, C2 parities) as a frame in an output stream for application to writedriver 164 (see FIG. 2). The manner of construction of AUX datastructure 300 by tape/volume manager 136 is understood by the followingmore specific description of the format of AUX structure 300.

4.1.1. AUX Data Locations

AUX data structure 300 describes the physical location, the type ofelements, and a description of the elements contained within a tapeframe. Table 1 defines the bytes of AUX Data structure 300. Arequirement for support in Table 1 indicates a requirement that theoverall field or data structure listed be supported, but it does notimply that every element in a data structure is mandatory. See theindividual data structure definitions for detailed requirements. InTable 1, M=Mandatory for device type; O=Optional for device type; and*=Optional within the device type but mandatory when writing A/Vstreams.

4.1.2 Frame Type

The Frame Type field is contained in the AUX data structure 300, bytes 0and 1. The Frame Type is a two (2) byte bit field that identifies theframe, as shown in Table 2. The following frame types are described:Partition; TOC; Track Table; Defect Map; Identify Frame; Filler Frame;Micro-code Update; Marker; Data; A/V Data; and EOD Frame.

The first five of the frame types listed above are known as control orconfiguration frames. As shown in FIG. 19, each MPDR tape 32 has a set320 of control frames or configuration control frames at the beginningof partition--1 of tape 32. The set of control frames comprises twocycles or sub-sets 322 of frames, particularly subset 322₁ and subset322₂. Each sub-set 322 can include partition frame (PAR) 340, table ofcontents (TOC) frame 342, track table frame (TrkTbl) 344, defect mapframe (DEF) 346, and identification frame (ID) 348. Two sub-sets offrames are provided in the set of control frames for redundancy. Whichcontrol frames 340-348 appear in partition -1 for a given tape dependson the type(s) of device which is expected to read the tape.

The Frame Type field defines an A/V flag, which indicates that the framecontains information or data relevant to the A/V device model. The FrameType bit definitions are provided in Table 2 while the correspondingvalue for each frame type is given in Table 3.

4.1.2.1 Configuration Frame Types

The Configuration Frames are located at the beginning of the tape in theConfiguration Partition (see FIG. 13 and FIG. 19). The contents of theConfiguration Frames are restricted to the uses defined in this section.The Configuration Frames do not contain user's data. The ConfigurationFrame types are the Partition Boundary Frame 340, TOC Frames 342, DefectMap Frames 344, Track Table Frame 346, Identify Frame 348.

Only the configuration frame types listed above and/or the universalframe types listed below exist in the configuration partition.Configuration frame types never exist outside the configurationpartition. Configuration frames only support the Frame Type and TapeFrame Number fields in the AUX Data structure 300, all other AUX Datafields are undefined.

The configuration partition is prepared by tape/volume manager 136. Inparticular, tape/volume manager 136 working through buffer manager 131builds the configuration frames in buffer memory 116. The manner ofconstruction of the configuration frames by tape/volume manager 136 isunderstood from the ensuing discussion.

4.1.2.1.1 Partition Boundary Frame

Partition Boundary frame 340 describes the number of partitions and eachpartition's physical location. Partition Boundary frame 340 alsocontains revision level information about the format recorded on tape.Partition Boundary frame 340 is the principal configuration frame. ThePartition Boundary frame 340 is implemented by all MPDR devicesregardless of the device type.

All partitions are rectangular in shape and are defined by the tapeframe address at two diagonal corners. The Partition Boundary frame 340positions within the Configuration Partition are located at tape frameaddress (0,12) and (5,11).

4.1.2.1.2 TOC Frame

TOC frame 342 is reserved for information concerning the physicallocation of A/V program data. TOC frame 342 contains pointers to thebeginning tape frame address and ending tape frame address for all A/Vprogram data. The TOC frame 342 is implemented in all devices whichrecord or playback A/V data streams, regardless of the device typeimplemented. The TOC frames 342 are positioned immediately following thePartition Boundary frames 340.

4.1.2.1.3 Track Table Frame

Track Table frame 344 contains a look up table used to translate thelogical frame address to the tape frame address. This information isused for rapid positioning to logical elements for the Streaming Tapedevice 48. The Track Table frame 344 is positioned immediately followingthe TOC frames 342. Implementation of the Track Table frame 344 ismandatory for the streaming tape type devices. The Track Table frame 344is not implemented by non-streaming tape model type devices.

4.1.2.1.4 Defect Map Frame

Defect Map frame 346 records the tape frame address for unrecoverableframes determined through Read-While-Write or other means. The DefectMap frames 346 are positioned after the Track Table frames 344.Implementation of the Defect Map is optional in a random access recordmode, however it is supported in the random access type devices duringread operations in order to detect block re-mapping. The defect mapframe 346 is not implemented by non random access model type devices.

4.1.2.1.5 Identify Frame

Identify frame 348 contains the basic parameters about the last deviceused to record the tape 32. Identify frames 348 are positioned after theDefect Map frames 346. The implementation of the Identify frame 346 isoptional for all device types.

4.1.2.2 Universal Frame Types

Universal frame types are those that may exist in any partition and donot contain user data. The following are defined types of universalframes: Filler Frame, Micro-code Update Frame, and Reserved Frame Types.Universal frames only support the Frame Type and Tape Frame Addressfields in the AUX Data structure 300 (see Table 1), all other AUX Datafields are undefined.

4.1.2.2.1 Filler Frame

Filler frames contain the Tape Frame Address and vendor uniqueinformation only. All data in a filler frame is vendor unique. Fillerframes most often contain no meaningful data, but they may be used as avolatile working space. Filler frames are be allowed between two dataframes when a logical element is spanning the two data frames. A minimumof one Filler frame precedes each Marker frame or EOD frame in thestreaming tape model. Reserved frame types are treated as filler framesduring reads for forward compatibility.

4.1.2.2.2 Micro-code Update Frame

Micro-code Update Frames are used for device firmware modification. Theimplementation is vendor unique to accommodate particular devicerequirements. The device allows overwriting the Micro-Code updateframes, which allows for cartridge reuse for data storage.

4.1.2.3 Logical Element Frame Types

The logical element frame types contain elements that are placed on tapebased directly on data or commands from the host. Logical element frametypes only exist in data partitions, no logical element frame types arerecorded in the configuration frame. The logical element frame typesdefined are as follows: Marker Frame, Data Frame, A/V Data Frame, andEOD Frame.

4.1.2.3.1 Marker Frames

Marker frames are only implemented in the streaming tape type device 48.Marker Frames are used to indicate Filemarks and Setmarks. Each MarkerFrame contains at least one mark. The Marker Frame may contain anycombination or number of Filemarks and/or Setmarks. All Marker Framesare proceeded by a Filler Frame. Because Marker Frames identify apossible append point to a contiguous data stream, a Filler Frame mustbe used to ensure that the Marker Frame are overwritten when appendingin a read-while-write implementation.

4.1.2.3.1.1 Filemark

Filemarks are a logical entity that have a unique logical block address.Filemarks are only used in the Streaming tape model. As a logicalentity, the Filemarks are cataloged in the DAT table (see §4.1.9.5 andTable 7) for the Marker Frame.

4.1.2.3.1.2 Setmark

Setmarks are a logical entity that have a unique logical block address.Setmarks are only used in the Streaming tape type device 48. As alogical entity, the Setmarks are cataloged in the DAT table (see§4.1.9.5 and Table 7) for the Marker Frame.

4.1.2.3.2 Data Frames

As understood from FIG. 12 for example, data frames contain space for 32Kbytes of user's data. Data frames exists in two types, General purposedata storage and A/V program data.

General purpose data storage is of the nature of standard computer filessuch as system files, executable files and data files. This data isalways be returned with 100 percent integrity. Error recovery methodsduring a read operation are exhaustive, including reposition and rereadtechniques. Data integrity may be verified using readwhile-writeverification during write operations, resulting in rewrite operations instreaming tape type devices, or frame re-mapping in random access typedevices. General purpose data frames are identified as having frame typeData with the A/V flag cleared (see Table 2 and Table 3).

A/V Program Data is a stream of digitized audio and/or video data. Thisdata is allowed to be lossy. Only error recovery that can beaccomplished on-the-fly is allowed. Data flow to or from the host ismaintained regardless of data integrity. No repositions, rewrites, orframe remapping are performed.

4.1.2.3.3 EOD Frame

Though not a true logical element, EOD is used in conjunction withlogical elements in a streaming tape type device 48. EOD indicates theend of data in a partition and is only used in the streaming tape typedevice 48. The A/V bit is cleared. An EOD frame is used to identify theappend point for subsequent write operations. An EOD Frame contains theEOD data structure. The EOD data structure is used to validate theaccuracy of the current Track Table.

4.1.3 Tape Frame Address

The Tape Frame Address is contained in bytes 8 through 11 of AUX datastructure 300 (see Table 1). The Tape Frame Address is double-word wide.As shown in Table 4 and Table 5, the Tape Frame Address represents aunique physical location on tape 32 referenced to the buried servosignal. The Tape Frame Address consists of an (x,y) coordinate pair. The`x` coordinate starts from zero (0) at BOT and sequentially increases toEOT. The `y` coordinate starts from zero (0) on logical track zero (0)and sequentially increases to the maximum logical track. All tape devicetypes support the Tape Frame Address. The Tape Frame Address isconsidered to be a double word integer value. All device types 44, 46,and 48 support the Tape Frame Address in every frame that is recorded.No frame is ever be written to tape 32 without a valid Tape FrameAddress.

4.1.4 Write Pass Counter

The write pass counter is in bytes 12-25 of AUX data structure 300 (seeTable 1). The write pass counter is supported in the streaming tape typedevices 48. The write pass counter is not supported in the A/V typedevices 44 model or the random access type devices 46. When notsupported the write pass counter is zero filled.

The write pass counter is implemented in all streaming tape type deviceoperations. The write pass counter is changed on each write from BOPwithin a partition during a streaming tape type device write. Duringstreaming tape type device operations data, filemarks, setmarks, and EODmarks are only considered to be current and valid if they contain thecurrent value in the write pass counter. The write pass counter value ismodified only during the creation of a new partition, the logicalerasure of a partition, or an over-write of a partition from BOP. When anew write pass counter value is required it is assigned as the MaximumWrite Pass Counter plus one. The Maximum Write Pass Counter ismaintained in the Track Table. No two partitions ever hold the samewrite pass count.

Old data may exist in a partition from a previous write if during astreaming overwrite operation a servo tracking fault condition arises.During the servo tracking fault condition, the write operation issuspended, but may resume further down tape as the servo system requireslock. The purpose of the write pass counter is to assure that during asubsequent read operation any old data that is detected will not beconsidered to be part of the current data stream.

4.1.5 Filemark Count

The Filemark Count field of AUX data structure 300 (see Table 1) is arunning count of filemarks in the partition up but not including thistape frame. The Filemark Count field is supported in the streaming tapetype device 48 but is not supported in any other type of device. Whennot supported this field is zero (0) filled.

4.1.6 Setmark Count

The Setmark Count field of AUX data structure 300 (see Table 1) is arunning count of setmarks in the partition up to but not including thistape frame. The Setmark Count field is supported in the streaming 'tapetype device 48, but is not supported in any other type device. When notsupported this field is zero (0) filled.

4.1.7 Frame Sequence Number

The Frame Sequence Number of AUX data structure 300 (see Table 1) issupported in the streaming tape type device 48, but is not supported inany other type device. When not supported the Frame Sequence Number iszero (0) filled. The Frame Sequence Number is used in the streaming tapetype device 48 to indicate the order in which the frames were built tobe sent to tape 32. In a read-while-write design frames are recorded ontape 32 out of sequence as unreliable frames are rewritten. The FrameSequence Number is a double word value that increases monotonically byone from zero in each partition.

The Frame Sequence Number is used during reading in order to properlyre-sequence user data. As rewrites occur the Tape Frame Addresscontinues to increment normally, and certain combinations of largelogical block sizes during rewrites are difficult to re-sequence fromthe Logical Frame Address alone. The Frame Sequence Number provides aclear indicator for logical frame ordering.

4.1.8 Logical Frame Address

The Logical Frame Address of AUX data structure 300 (see Table 1) is inbytes 12 through 19. The Logical Frame Address is four words wide. TheLogical Frame Address defines the frame's logical position within apartition. A Logical Frame Address is assigned to any frame thatcontains valid Filemarks, Setmarks or user data.

The Logical Frame Address represents the logical block address for firstlogical block start contained in the tape frame. In the case of verylarge logical blocks, were no logical block start exists in the tapeframe, the logical block address of the block in progress is used. TheLogical Frame Address begins from zero at BOP and increasesmonotonically towards EOP. The Logical Frame Address is assigned to thefirst logical element that contains a BOLG in the tape frame. BOLG isdefined in the DAT (see §4.1.9.5 and Table 7).

FIG. 20 is an example of logical frame addressing. In FIG. 20, "BOLG"refers to beginning of logical group; "EOLG" referst to end of logicalgroup; "LBA" refers to logical block address; and "LFA" refers tological frame address.

The Logical Frame Address is required for the Random Access Tape andStreaming Tape type devices 46 and 48, respectively, and is optional inthe Audio/ Video Tape type device 44. Frames containing duplicate datahave the same logical frame address.

4.1.9 Data Access Table and Logical Block Descriptions

The Data Access Table (DAT) is in byte positions 48-307 of AUX datastructure 300 (see Table 1). DAT is supported in the streaming tape typedevice 48 and in the random access type device 46, and is optional inthe A/V type device 44 (to be used when logical element numbering isdesired). When not supported, the first 4 bytes of DAT are zero (0)filled and the remainder of the table is undefined.

4.1.9.1 Logical Elements on tape

A Logical Element represents an entity on tape that possess a uniquelogical block address. There are three (3) types of logical elements:Data Blocks, Filemarks, and Setmarks. Each logical element on tape has aunique logical address within a partition. The logical block addressalways starts from 0 at the BOP and the address sequentially increasesfor each logical element written in sequential order.

4.1.9.2 Logical Groups

A logical group is the sequential grouping of like logical elements thatdiffer only in logical block number.

4.1.9.3 Format Discontinuity

A format discontinuity represents a boundary between adjacent logicalelements on tape that have different attributes. Table 6 lists thepossible format discontinuities found in a frame.

The logical group attributes are contained in the Logical Block Size andthe DAT Entry Flags described in the DAT Entry (see §4.1.9.5.3 and Table8). Any change in the attributes requires a new DAT entry.

Filemarks and setmarks do not reside in a data frame, and must be placedin a marker frame. Several consecutive marks may reside in the samemarker frame. As logical elements, consecutive marks of like attributesare grouped into logical groups that have a data length of zero.

4.1.9.4 Logical Block Address Assignment

The Logical Block Address start, from zero (0) at BOP. The Logical BlockAddress assignment for each logical element within a logical groupincreases monotonically in sequential order towards EOP. The calculationfor the logical element's Logical Block address is determined by therelationship of Equation 1.

    Logical Block Address=Logical Frame Address +Element's Relative Position Equation 1

In Equation 1, the Element's Relative Position is the element's positionwithin a tape frame. The Element's zero (0) position is the firstlogical element that contains a BOLG within the tape frame. BOLG isdefined in the DAT (see §4.1.9.5 and Table 7). In Equation 1, theLogical Frame Address is the base address used for all logical elementsin a tape frame. For more information about Logical Frame Address, see§4.1.8.

4.1.9.5 Data Access Table (DAT) Format

The Data Access Table (DAT) is in bytes 48 through 307 of AUX datastructure 300 (see Table 1). The DAT (shown in Table 7) describes thelogical elements or partial logical elements contained in the tapeframe. When a format discontinuity or a tape frame boundary isencountered, or when a compression group is described, a new DAT entryis made. DAT entries are discussed in §4.1.9.5.3 and illustrated inTable 8. A DAT entry only describes the components of the logical groupscontained in the current tape frame or the current compression group.

4.1.9.5.1 DAT Entry Size

Each DAT Entry is 8 bytes long.

4.1.9.5.2 Number of DAT Entries

This is the number of entries in the DAT which corresponds to the numberof format discontinuities and compression group descriptions containedin the frame. The DAT supports up to 32 entries. No more than 32 formatdiscontinuities and compression group descriptions reside in a singletape frame. The DAT entries beyond those that are enumerated containundefined data. Some loss of capacity will be experienced in the eventthat the DAT is filled before the tape frame is filled with user data.

4.1.9.5.3 DAT Entries

DAT entries are shown in Table 8. Each discontinuity in attributeswithin a frame requires a unique DAT entry. Each compression grouprequires two DAT entries.

4.1.9.5.3.1 Logical Block Size

A logical block represents the data block size used across the hostinterface. The logical block size need not have any particular relationto the tape frame size, nor to any of the lower level physical elementsdefined in the physical tape format document.

The Logical Block Size (LBS) indicates the number of bytes contained inone logical block. If a logical block spans a tape frame boundary, thenthe Logical Block Size contains the number of bytes actually in thecurrent frame. To determine the host logical block size of logicalblocks that span frames, the device has to process all frames containingthe components that make up the complete logical element. In a markerframe the Logical Block Size is always be zero.

4.1.9.5.3.2. Number of Logical Elements

The Number of Logical Elements (NLE) indicates the number of logicalelements or partial elements described in the DAT entry. For a partialelement, the Number of Logical Elements is set to one, since one elementis being partially described, this is the case when spanning a tapeframe.

4.1.9.5.3.3 DAT Entry Flags

The DAT Entry Flags, understood with reference to Table 9, are used toindicate the attributes of the logical element described by the DATentry (see Table 8). In Table 9, the following definitions apply:

CMP: If this bit is set to one (1), then the logical element(s) withinthe logical group is compressed data. If this bit is set to zero (0),then the logical element(s) is uncompressed data.

BOLG: The Beginning of a Logical Group bit indicates that the beginningof this logical group is contained in this frame.

EOLG: The End of a Logical Group bit indicates that the end of thislogical group is contained in this frame.

EXT: The Extended Entry bit indicates that the next entry in the DAT isadditional information concerning this logical group. For example withcompressed data, the first entry in the DAT describes the compressiongroup while the extended entry describes the compression group contents.

MARK: In a data frame the MARK bit is always be set to zero (0). For aDAT entry in a marker frame a Filemark(s) is represented with the MARKbit set to one (1) and a Setmark(s) is represented with the MARK bit setto zero (0). The number of consecutive MARKS with the same attributes isrecorded in the "Number of Logical Elements" field.

CID: The Compression ID (CID) indicates the history buffer size usedduring the compression. A CID value of 00b means a history buffer sizeof 512; a CID value of 01b means a history buffer size of 1024; a CIDvalue of 10b means a history buffer size of 2048;a CID value of 11b isreserved.

Logical Block Size: The "Logical Block Size" indicates the number ofbytes contained in one logical block. In a Marker frame the LogicalBlock Size is be set to zero (0).

Number of Logical Elements: The "Number of Logical Elements" indicatesthe number of logical elements in the DAT entry.

4.1.9.6 Filemarks and Setmarks

Since Filemarks and Setmarks represent logical elements and formatdiscontinuities, an entry in the DAT is required for either a filemarklogical group or a setmark logical group. Each filemark or setmark has aunique logical block address. All filemarks and setmarks are recorded ina Marker Frame, which separates filemarks and setmarks from user's data.A Marker Frame does not contain user data. All marker frames arepreceded by a filler frame.

4.1.9.7 Data Compression

Hardware data compression is an optional feature for the streaming tapetype device 48. Hardware data compression is not active in either therandom access type device 46 or the A/V type device 44. This does notexclude compression techniques applied to the data outside the device,for example the host may apply MPEG-2 compression against A/V programdata before sending the data to the device.

The compression algorithm is the IBM ALDC algorithm. If the drive doesnot support hardware data compression, it is capable of returning thecompressed data to the host.

The description that follows only applies for hardware compression thatexists on the device. This description does not apply to compressed datastreams that are compressed in the host.

4.1.9.7.1 Data Compression Group

The Data Compression Group is an extension of a logical group (see§4.1.9.2). Only data blocks of the same length are grouped, compressedand recorded as one data compression group. If a block with a differentblock size is encountered during compression, then the currentcompression group is closed and a new compression group is started. Themaximum amount of uncompressed data contained in a compression group is32 Kbytes.

A compression group is recorded as a logical group with a single blockthat posses an extended set of attributes. Two DAT entries are requiredto describe a compression group. The first entry describes theattributes of the logical group that contains the compression groupitself. In addition, the first entry sets the EXT bit to one (1)indicating that there is a second entry which completes the description.The second entry describes the uncompressed contents of the compressiongroup with the EXT bit set to zero (0), the CMP bit set to one (1), andthe history buffer size used for the compression group.

4.1.9.8 Logical Groups Spanning Tape Frames

Logical groups can span across tape frames. BOLG and EOLG, which aredescribed in the DAT entry (see §4.1.9.5.3.3 and Table 8), are used toaccomplish spanning across tape frames.

All sequential logical elements that have the same attributes aregrouped into one DAT entry. In situations when the logical groupingspans to the next frame the beginning and end of a logical group isidentified with two flag bits. One flag that marks the beginning of alogical group (BOLG) and another flag that marks the end of a logicalgroup (EOLG). All logical groups have a BOLG and EOLG. Table 10 definesthe use of BOLG and EOLG.

Except for data compression groups, a logical group that spans acrosstape frames only contains one logical block. If a logical block boundarycoincides with a tape frame boundary, then the logical group thatcontains that logical block also ends at the tape frame boundary. If alogical group containing multiple logical blocks is going to span a tapeframe, then the logical group are broken into multiple logical groups.The first logical group ends after the last whole logical block that canbe fit into the tape frame. A second logical group is started so that alogical group with only one logical block spans the tape frame. Thecompletion of the second logical group is in the next tape frame. Thisrule does not apply to compression groups.

A compression group is recorded as a logical group consisting of asingle block. A compression group is defined in the DAT by two entries.In the first entry the BOLG and EOLG flags define the beginning andending of the compression group itself. In the second entry the BOLG andEOLG flags define the beginning and ending of the logical blockscontained in the entire compression group.

4.1.10 Partition Control

Partition Control, shown in Table 11, is used to indicate partitionboundary. The Partition Control field or partition control flags residein AUX data structure 300 bytes 34-335 (see Table 1) and are mandatoryin all A/V program streams. The Partition Control field is provided as amechanism to simplify A/v interchange across different device types andbetween A/v players of different levels of capability.

The most simplistic implementation of the A/V type of device 44 may nothave sufficient capability to process a complexly partitioned tape.However, the TOC does supply the beginning and ending tape frame number,and the partition control frame alerts the device as to when a trackchange is required. Thus, once the beginning of an A/V program has beenacquired, the entire program may be retrieved sequentially without anyknowledge of the partition geometry.

The following terminology applies to the partition control field asshown in Table 11:

Beginning Of Partition Track (BOPT) is set to indicate that a verticalpartition boundary is present on the supply-reel end of the partition. Acornering operation is required to remain in the partition. Support forthe BOPT bit is mandatory in all A/V program streams.

End Of Partition Track (EOPT) is set to indicate that a verticalpartition boundary is present on the take-up-reel end of the partition,a cornering operation is required to remain in the partition. Supportfor the EOPT bit is mandatory in all A/V program streams.

Corner Early Warning (CEW) is a count-down counter indicating that anEOPT or BOPT is approaching in the logically forward direction. CEW isused to by the drive or the system to allow for modifications in databuffering and cache operations in order to smooth the flow ofisochronous data. As shown in FIG. 21, beyond saturation (FFh) the CEWalways reads 255 (FFh). When the tape frame is within 254 frames of thepartition boundary the CEW indicate the number of frames to thepartition boundary. At EOPT or POPT in the logically forward directionthe CEW reads zero (0).

4.1.11 Partition Description

The Partition Description of AUX data structure 300 (bytes 336-367) is aduplicate of the 32byte data structure of the partition boundary frame340, as described in §4.2.1.5.

4.1.12 A/V Program Description

The A/V Program Description is located in bytes 368 through 431 of AUXstructure 300 (see Table 1). The A/V Program Description, shown in Table12, is a duplication of the 64 byte TOC Entry Data Structure.

4.1.12.1 TOC Entry Structure as A/V Program Description

The A/V Program Description consists of a 64 byte structure, whichdefines the type of A/V data in each program.

4.1.12.1.1 Program Entry Number

The Program Entry Number is the index into the TOC for this TOC entry.Each TOC entry is assigned a unique Program Entry Number. This firstentry is entry 0 with each subsequent entry increasing by one. The TOCentry number is supported in all A/V Program Descriptions.

4.1.12.1.2 Tape Frame Address Start

This field records the starting tape frame address for the current A/Vprogram. This field is supported in all A/V Program Descriptions.

4.1.12.1.3 Tape Frame Address End

This field records the ending tape frame address for the current A/Vprogram. This field is zero (0) in all A/V Program Descriptions.

4.1.12.1.4 Multi-media Source

As shown in Table 13, this 16 bit field is used to identify the sourceof the A/V data, such as audio or video, which format, and level of copyprotection support is to be enforced. Support for this field isoptional, if not supported this field is zero filled.

The CP (Copy Protect) and SCPY (Single Copy) bits of Table 13 areprovided for copy protection support. Values for CP and SCPY areunderstood from Table 14. Other values and terminology of Table 13 areunderstood with respect to the following:

VIDEO--If the VIDEO bit is set to one (1), then the data content is froma video source.

AUDIO--If the AUDIO bit is set to one (1), then the data content is froman audio source.

FUNK--If the FUNK bit is set to one (1), then the data format is unknownto the device.

TSTP--If the TSTP bit is set to one (1), then MPEG time stampinformation is embedded in the data stream.

MPEG--If the MPEG bit is set to one (1), then the data format iscompliant to MPEG audio/video.

NOCMP--If the NOCMP bit is set to one (1), then the data format is notcompressed, real-time linear recording.

Revision--any data format revision levels that are required are enteredin this field, if no revision level is required for accurateidentification of the format then this field is treated as reserved.

4.1.12.1.5 Program Name/Credits

The Program Name/Credits is a left justified, 32 character, nullterminated, ASCII text string used to supply information about theprogram. Support for this field is optional, if not supported this fieldis zero filled.

4.1.12.1.6 Program Date/Time

The Program Date and Time fields are fields of numerical values used torecorded the creation date and time of the program. Support for thesefields is optional, if not supported these fields are zero filled.

4.2 Configuration Frames Data Structures 4.2.1 Partition Boundary DataStructures

Partition Boundary frame 340 resides in the Configuration Partition andis shown in Table 15. The data structure of Partition Boundary frame 340defines all the partitions on the tape 32. Any regions on tape that arenot defined in this data structure are considered to be undefined andinvalid. The entries into the data structure of the partition boundaryframe 340 are in ascending order starting with the ConfigurationPartition (see §5.1 and §4.1.2.1.1). All device types support thePartition Boundary frame 340.

4.2.1.1 MPDR Physical Format Revision Level

Physical format revision levels is reported beginning from revision 1.0.The decimal point separates the major and minor revision levels. Thevalue recorded here is the version number of the specificationimplemented in the firmware of the device that is recording thePartition Boundary frame.

4.2.1.2 MPDR Logical Format Revision Level

Logical format revision levels are reported beginning from revision 1.0.The decimal point separates the major and minor revision levels. Thevalue recorded here is the version number of the specificationimplemented in the firmware of the device that is recording thePartition Boundary frame.

4.2.1.3 Partition Boundary Entry Length

This field defines in bytes the length of each Partition Boundary entry,which is 16 bytes.

4.2.1.4 Number of Partitions on Tape

This field indicates the number of partitions on the tape. The minimumvalue is 2, as all tapes support the Configuration Partition (partition-1, see FIG. 13) and at least one data partition (partition 0) foruser's data. There is a Partition Boundary Entry for every partition onthe tape (including the configuration partition, partition -1). Themaximum number of partitions allowed by this specification is 65 (theconfiguration partition plus up to 64 user partitions).

4.2.1.5 Partition Boundary Entries

The sixteen bytes of the data structure for a partition entry are shownin Table 16. Partitions are defined by a pair of tape frame coordinatesdefining the lower left and upper right corners of a rectangle.Partitions may start and end on either even or odd numbered tracks, orthey may be contained on a single track, but they are always berectangular. In FIG. 22, the coordinate pair (a,b) defines the lowerleft boundary of the partition, while coordinate pair (c,d) defines theupper right boundary. The remaining two corners are derived as tapeframe (aid) and tape frame (c,b).

4.2.1.5.1 Partition Number

Partition numbers are assigned from -1 (FFh) for the directory partitionincrementing by one. The first user data partition is partition zero(0). All types of devices support a minimum of partition -1 andpartition 0. There are no discontinuities in the partition numbers.Partition entries are ordered by the increasing partition numbers. Theorder of the partition number assignment does not have any particularcorrelation with the physical location of the partitions on the tape.

4.2.1.5.2 Tape Device Model Field

Table 17 shows the two byte tape device model field of a partitionboundary entry of partition boundary frame 340. The following bitassignments appear in Table 17:

A/V--when this bit is set the partition was created for the A/V deviceoperation.

RA--when this bit is set the partition was created for the Random Accessdevice operation.

STRMR--when this bit is set the partition was created for the StreamingTape device operation.

TOC--when this bit is set the table of contents is supported for thispartition.

DEF--when this bit is set the defect map listing applies to the tapeframes within this partition.

TrkTbl--when this bit is set the track table is supported for thispartition.

RWW--when this bit is set a least one device that recorded in thispartition supported automated read-while-write rewrite operations asdescribed in the streaming tape model.

ERASE--when set the ERASE bit indicates that the partition contains novalid data.

4.2.1.5.3 Lower Left Tape Frame Address

The Lower Left Tape Frame Address specifies the frame that forms thecorner of a rectangular partition closest to BOT and logical track zero.

4.2.1.5.4 Upper Right Tape Frame Address

The Upper Right Tape Frame Address specifies the frame that forms thecorner of a rectangular partition closest to EOT and the maximum logicaltrack.

4.2.2. TOC Data Structure

The TOC frames 342 reside in the Configuration Partition (see FIG. 13and FIG. 19). The TOC frames 442 contain a list of all the A/V programson tape 32. The data structure for TOC frame 342 is shown in Table 18.See §5.1 and §4.1.2.1.2.

4.2.2.1 TOC Frame Number

The TOC frame number shown in Table 18 indicates the index number of theTOC frame 342 starting from zero (0). The TOC frame number is used todistinguish individual frames in the case of a TOC that has beenexpanded to more than one tape frame. When there is only a single frameTOC, thus the TOC Frame Number is zero.

4.2.2.2 Total Number of Frames in TOC

This field defines the total number of frames currently in use to holdthe complete listing of TOC entries. In the standard case all of the TOCentries are listed in one frame and the value in this field is one (1).If the TOC grows beyond the capacity of a single frame, additionalframes in partition -1 are allocated from available ConfigurationFrames. When there is more than a single frame TOC, the Total Number ofFrames in TOC is one.

4.2.2.3 Number of Entries in this Frame

Bytes four and five of the data structure of the TOC frame 342 (seeTable 18) indicate the number of TOC entries in this TOC frame.

4.2.2.4 TOC Entry Length

Byte six of the data structure of the TOC frame 342 (see Table 18)defines in bytes the length of each TOC entry, which is 64 bytes.

4.2.2.5 TOC Entries

Each TOC entry consists of a 64 byte structure, which defines the typeof A/V data in each program. The sixty four byte structure is the sameas that shown in Table 12.

4.2.3 Track Table Data Structure

The Track Table frame 344 resides in the Configuration Partition(partition -1, see FIG. 19). The Track Table frame 344 containsinformation that provides fast and efficient positioning of the tape.The content of Track Table frame 344 is built up by the drive and is notaccessible to the host system.

Each streaming tape type model partition has its own record within theTrack Table frame 344. The entire Track Table, shown in Table 19, islimited to one tape frame in size (32768 bytes).

4.2.3.1 Maximum Write Pass Count

The Maximum Write Pass Count contains the highest write pass counter inall partitions. When the write pass counter is supported the initialvalue is one (1). Each time a new write pass count value is required forany partition, it is created as the Maximum Write Pass Counter plus one,and the Maximum Write Pass Counter is incremented to reflect the newhighest write pass counter in all partitions. In this way no twopartitions ever have the same write pass count.

4.2.3.2 Number of Partitions

This field indicates the number of partitions that are described by theTrack Table frame 344.

4.2.3.3 Partition Entry Header Length

This field defines in bytes the length of each Track Table entry header,which is 16 bytes.

4.2.3.4 Track Table Partition Entries

A Track Table Partition Entry contains a header followed by a list oflogical block numbers. A Track Table Partition Entry, shown in Table 20,contains a record for relating logical to physical relationships for aparticular partition. Each streaming tape model partition has acorresponding Track Table Partition Entry.

4.2.3.4.1 Partition Number

This field of the partition entry data structure (see Table 20)indicates the partition number assigned in the partition boundary frame340. The Track Table Partition Entries need not be ordered by partitionnumber.

4.2.3.4.2 EOD Tape Frame Address

This field contains the tape frame address of the frame following thelast logical entity in the partition. Locating to the frame immediatelyfollowing the last logical entity ensures that the first copy of anyreadable EOD frame will be encountered in a RWW implementation.

4.2.3.4.3 Last Marker Frame Address

This field contains the tape frame address of the last marker frame inthe partition. It is used to assist in reverse spacing operations. Eachmarker frame also includes a tape frame address to the previous markerframe. If their are no marker frames in the partition then this field isset to -1 (FFFFFFFFh).

4.2.3.4.4 Last Marker Frame LFA

This field contains the logical frame address of the last marker framein the partition. If their are no prior marker frames in the partitionthen this field is undefined.

4.2.3.4.5 Number of Tracks in Partition

This field indicates the number of samples that are described by theTrack Table Partition Entry since each track contains one entry.

4.2.3.4.6 Track Entry Length

This field defines in bytes the length of each Track Entry, which is 16bytes.

4.2.3.4.7 Track Entry

Track entries for Table 20 are shown in more detail in Table 21. Trackentries are made in ascending logical track number within the partition.A track entry is reserved for each logical track in the partition at thetime that the partition is created. Track entries beyond the EOD trackcontain undefined data.

4.2.3.4.7.1 Next Logical Block Address

The Next Logical Block Address is the logical block address for thefirst logical element to start on the next track. In the case of the EODtrack this number is the last logical block number in the partition plusone.

4.2.3.4.7.2 Filemark Count

The Filemark Count represents the number of Filemarks recorded in thispartition up to and including the last frame on the track.

4.2.3.4.7.3 Setmark Count

The Setmark Count represents the number of Setmarks recorded in thispartition up to and including the last frame on the track. In aread-while-write (RWW) environment a frame may be duplicated on twotracks. The Track Table Entry corresponds to the first verified copy.

4.2.4 Defect Map Data Structure

The Defect Map frames 346 reside in the Configuration Partition(partition -1, see FIG. 13 and FIG. 19). If the Defect Map support isimplemented, then the host or the device re- maps any tape frame addressfound to unreliable. The list is always constructed with the defectivetape frame addresses in ascending order for each defect entry. The datastructure for defect map frame :346 is shown in Table 27.

4.2.4.1 Defect Map Frame Number

This field indicates the index number of the Defect Map frame startingfrom zero (0) and incrementing by one. This is used to distinguishindividual frames in the case of a Defect Map that has been expanded tomore than one tape frame. As the defect map fits in one frame, thisentry is zero.

4.2.4.2 Total Number of Frames in Defect Map

This field defines the total number of frames currently in use to holdthe Defect Map. As the defect map fits in one frame, this entry is zero.

4.2.4.3 Number of Entries in this Defect Map

This field indicates the number of Defect Map entries in this Defect Mapframe 346.

4.2.4.4 Defect Map Entry Length

This field defines the length of each Defect Map entry, which is eight(8) bytes.

4.2.4.5 Defect Entries

As shown in Table 23, each Defect Entry is a pair of double-wordsdefining the tape frame location that is mapped out and the location towhich it is re-mapped.

4.2.5 Identify Frame Data Structure

The Identify Frame 348 is in the Configuration Partition (partition -1).As shown in Table 24, Identify Frame 348 contains parameter informationabout the tape drive that initialized tape 32. Support for the IdentifyFrame 348 is optional.

4.2.5.1 Tape Device Model

The Tape Device Model field of the data structure of identify frame 348(see Table 24) defines the device model that partitioned the tape. Thetape device model field is shown in Table 25. Support for this field ismandatory when the Identify Frame 348 is implemented.

Bit assignments in Table 25 are explained below:

A/V--when this bit is set to one (1) the tape was initialized for theA/V device operation.

RA--when this bit is set to one (1) the tape was initialized for theRandom Access device operation.

STRMR--when this bit is set to one (1) the tape was initialized for theStreaming Tape device operation.

FMTR--when this bit is set to one (1) the tape was initialized by ageneric factory formatting station.

4.2.5.2 Manufacturer Name

This field is a left justified, null terminated, ASCII text stringindicating the manufacturer of the device that initialized the tape.Support for this field is mandatory when the Identify Frame isimplemented.

4.2.5.3 Model Name

This field is a left justified, null terminated, ASCII text stringindicating the manufacturer's model name that initialized the tape.

4.2.5.4 Model Revision

This field is a left justified, null terminated, ASCII text stringindicating the revision level of the device that initialized the tape.

4.2.5.5 Additional Identify Fields Supported

When implementing an intelligent interface, such as SCSI, ATA (IDE) orATAPI, a number of data structures containing detailed information aboutthe device are readily available. These data structures, shown in Table26, may be recorded in the Identify frame 348 as a convenient method forstoring device information. Any such data structure recorded conforms tothe respective interface specification.

Support for this field is mandatory when the Identify Frame 348 isimplemented. If no additional identify data fields are supported thenthis field is zero filled.

The data fields begin at offset 512 within the Identify Frame 348 andeach subsequent data field begins on a 512 byte boundary. The data inthe reserved areas of the Identify Frame 348 is undefined.

Bit assignments in Table 26 are understood by the following:

INQ--when this bit is set to one (1), the SCSI or ATAPI compatibleinquiry data is recorded beginning at block offset 512 in the Identifyframe data space.

MODE--when this bit is set to one (1), the SCSI or ATAPI compatible modesense pages are recorded beginning at block offset 1024 in the Identifyframe data space.

LOG--when this bit is set to one (1), the SCSI or ATAPI compatible logsense pages are recorded beginning at block offset 1536 in the Identifyframe data space.

ATAID--when this bit is set to one (1), the ATA or ATAPI compatibleidentify device data is recorded beginning at block offset 2048 in theIdentify frame data space.

Undefined--the undefined space is reserved for future expansion, butunlike reserved fields it need not be zero filled.

Any of the identify data fields that are not supported also containundefined data. Any identify data structure that does not require theentire 512 byte field that has been reserved for it may containundefined data following the data structure.

4.3 Marker Frame and EOD Frame Data Structures 4.3.1 Marker Frame DataStructure

The marker frame is shown in Table 27. The marker frame is onlyimplemented for the streaming tape type device 48. The marker frame is acontainer for navigational markers on tape 32. The marker frame is wherefilemarks and setmarks reside. Indications of the type and total numberof markers in the frame are located in the AUX data structure 300 tofacilitate rapid searching.

The Marker frame data structure for filemarks and setmarks is a subsetof the Track Table entry for the current partition. This data structureis placed beginning at byte 0 of the data space of the Marker frame.This information is for use by the device and is not returned to thehost.

4.3.1.1 Partition Number

This field indicates the partition number assigned in the partitionboundary frame.

4.3.1.2 Previous Marker Frame Address

This field contains the tape frame address of the previous marker framein the partition. It is used to assist in reverse spacing operations. Ifthere are no prior marker frames in the partition then this field is setto -1 (FFFFFFFFh).

4.3.1.2 Previous Marker Frame LFA

This field contains the logical frame address of the Previous markerframe in the partition. If there are no prior marker frames in thepartition then this field is undefined.

4.3.2 EOD Frame Data Structure

The EOD frame data structure is a copy of the Track Table PartitionEntries entry for the current partition. This data structure is placedbeginning at byte 0 of the data space of the EOD frame. This informationis for use by the device and is not returned to the host. For adefinition of the elements within the EOD frame data structure, see§4.2.3.4. In the event of a conflict between the EOD Track Tablestructure and the configuration partition Track Table entries for thatpartition, the EOD Track Table structure is considered to be most recentfor that partition. A seek to EOD will be required in each streamingtape model partition in order to recover the entire current Track Tablestructure information.

5 TAPE MODEL OPERATION 5.1 Configuration Partition

The Configuration Partition (partition -1, see FIG. 13 and FIG. 19)contains the configuration frames 340, 342, 344, 346, and 348. Theconfiguration frames hold the partition boundary information, anddepending on the supported models, frames for managing data on the tapeand the device models. All device types initialize and maintain thePartition Boundary frame 340 for format compatibility.

As shown in FIG. 13, the Configuration Partition is the first partitionlocated on tape 32 from BOT, which is also depicted in FIG. 19. TheConfiguration Partition contains the Configuration Frames. TheConfiguration Partition is composed of five (5) frames horizontally andtwenty-four (24) logical tracks vertically. The Configuration Partitionhas a partition number of FFh (-1). No user data (apart from theoptional program information in the TOC) stored in the ConfigurationPartition. All devices types support the Configuration Partition andpartition 0. Subdividing the user data area into additional partitionsis optional. The Configuration Partition is subdivided into additionalpartitions. When recording the Configuration Frames, the devicemaintains the Tape Frame Address.

The Configuration Frames are written in the middle logical tracks. TheConfiguration Frames are written twice, once in each direction indifferent physical bands for redundant security. The logical trackseleven (11) and twelve (12) are used for the Configuration Frames. TheConfiguration Frame recording order on logical track twelve (12) andeleven (11) always begins with the Partition Boundary frame.Configuration frames have a hierarchical order in which they arewritten, the hierarchical order being descending as follows:PartitionBoundary Frame 340; TOC Frames 342; Track Table Frame 344; Defect MapFrames 346; and Identify Frame 348.

Only five or less configuration frames are used at one time. All of thesupported configuration frames are written contiguously. If a particularconfiguration frame is not supported by the given tape model, then thenext frame type in the hierarchy is written. There are no rewriting orre-mapping of the configuration frames.

The frames in the configuration partition not explicitly defined in FIG.19 are available for use by any of the Universal Frame types. Reservedframe types encountered in the configuration partition are ignored toprovide a path to future enhancements with backward compatibility.Filler Frames in the configuration partition may be used as driveworking space, however filler frames are considered volatile storage asFiller Frame data is undefined, any device type may write any data intoa Filler Frame.

5.2 Audio/Video Tape Operation

The A/V format relies on the concept of Audio/Video program data. A/Vprogram data requires an uninterrupted data flow on play back. The A/Vtype device 44 maintains an isochronous stream during the program playback. As shown in FIG. 23, the A/V Tape supports and maintains the bothpartition boundary frame 340 and table of contents frame 342 of theConfiguration Frames. The A/V Tape sets the A/V bit in the Frame Typefield of AUX data structure 300 (see Table 1) to indicate that the datais A/V program data. A bit in the Frame Type Field separates A/V programdata from non-A/V program data. During a read operation, all non-A/Vframes are ignored and treated as filler frames.

The A/V Tape has the following attributes: (1) The data from an A/Vprogram is recorded contiguously on tape; (2) During read, the devicemaintains an uninterrupted data stream; (3) For read-while-write(RWW)devices, the A/V Tape disable RWW; (4) The A/V Tape disables allread recovery techniques involving repositioning; (5) The A/V Tapedisables hardware data compression. Only the Tape Frame Number needs tobe updated for every frame. The Partition Control Flags field only needsto be updated in connection with end-of-track/end-of-partition cornerturns.

FIG. 23 shows a plurality of A/V programs 360, 362 in partition 0.

5.3 Random Access Tape Operation

The Random Access tape performs similar to a Random Access type device46. The Random Access Tape permits writing and reading at all locationson tape 32 with some limitations, which limitations are speed and blocksize. As shown in FIG. 24, the Random Access ° Cape supports andmaintains the Partition Boundary frame 340 and the Defect Map frame 346of the Configuration Frames.

If the device records an A/V program data while configured as a RandomAccess Tape, then the device supports the requirements for the A/V Tapeincluding the initialization and update of the TOC frame 342 (see §5.2).

In the Random Access Tape model, only one entry in the DAT (see§4.1.9.5.3 and Table 8) is require to describe the entire data contentsof a tape frame written to tape since there are no discontinuities inthe Logical element sizes and no logical blocks span across tape frameboundaries.

An example of a random access tape without A/V data is shown in FIG. 24.An example of a random access tape with A/V data (e.g., A/V program 370)is shown in FIG. 25.

The Random Access Tape has the following attributes: (1) The logicalblocks have a fixed correlation to tape frames and the logical blocksare an even divisor of the 32Kbytes frame; (2) All logical blocks withina partition are the same size; (3) All read or write operations areperformed on complete 32 Kbytes frames; (4) The Random Access Tapedisables hardware data compression; and, (5) The Random Access Tape doesnot support EOD marks, Filemarks and Setmarks.

In the case of a RWW error, the bad frame is re-mapped to a reservedarea and the re-mapping is logged in the defect map frame 346. Theremainder of the random access partition geometry remains unchanged. Thearea reserved for re-mapping is set aside at the time that the randomaccess partition is created.

5.4 Streaming Tape Operation

The Streaming Tape type device 48 records the user's data as asequential data stream on the medium 32. The device terminates a datastream with an EOD mark. Additional data is recorded only at appendablepoints on the medium. The appendable points on tape are EOD and BOP.Optional appendable points on tape are Filemarks and Setmarks. Inaddition, a Streaming Tape type device 48 allows rewriting unrecoverableframes, which were detected through RWW, e.g., farther down the tape.For more information about RWW in a Streaming Tape, see §6.3.

As shown in FIG. 26, the Streaming Tape without A/V data supports andmaintain the following Configuration Frames: partition boundary frame340 and the Track Table frame 344.

If the device records an A/V program while configured as a StreamingTape device, then the device supports the requirements for the A/V Tapeincluding the initialization and update of the TOC frame 342. Hardwaredata compression is not active when recording an A/V program data.

The Streaming Tape has the following attributes: (1) Logical blocks areindependent of tape frames; (2) Reading or writing physically on tape isperformed on complete 32 KByte frame boundaries (thus the device padsframes as required before they are written to tape and reconstructs thedata to the host on a read); (3) All data is written contiguously fromBOP toward EOP in a stream; (4) Each stream is terminated with an EODmark (There is only one valid EOD mark in each partition and all framesbetween the EOD mark and EOP are considered to be blank); (5) TheStreaming Tape supports Filemarks and Setmarks; (6) The Streaming Tapesupports hardware data compression; and (7) Optionally, the StreamingTape supports RWW.

5.5 Configuration Frame Initialization

All device types 44, 46, and 48 recognize a two partition minimumconfiguration, the minimum two partitions are the ConfigurationPartition (partition -1) and partition 0 (see FIG. 13). During cartridgeinitialization, all device types initialize the Partition Boundary frame340 in the configuration partition.

5.6 Minimum Configuration Frame Support

Table 28 defines the minimum configuration frame support for each devicemodel. In Table 28, "*" denotes optional during write operations,mandatory during read operations for interchange compatibility.

6 READ-WHILE-WRITE VERIFY OPERATION

In some modes, data recorded on tape can be verified after therecording. When the data recorded on tape is essentially immediatelyread back for verification purposes by a read head which follows thewrite head, the operation is known as a "Read-While-Write" (RWW)operation. As used herein, a "Read-After-Write" (RAW) operation is aread for verification purposes that occurs either during the recordingprocess (e.g., RWW), or subsequently (e.g., as by recording furtherframes or blocks of data before going back to read the frames which wererecorded).

6.1 Read-While-Write Verify in A/V Data Operations

Verification can be utilized during the writing of A/V data streams, butthere is no re-recording of defective frames.

6.2 Read-While-Write Verify in the Random Access Model

Read-While-Write verification for random access device 46 (see FIG. 1)can be implemented in either of two modes. In a host-responsible rewritemode (described e.g., in §7.5.1), the host determines suitable rewritecriteria and rewrite locations on the tape for frames which are notreadable or which were incorrectly read during read-while-writeverification. In a device-responsible rewrite mode (described e.g., in§7.5.2), the device determines locations on the hard sectored tape 32for a re-recording of such a frame.

6.3 Read-While-Write Verify in the Streaming Tape Model

During a write operation in the Streaming Tape model, RWW verificationand rewrites are an automated process controlled by the device. In orderthat the data returns to the host in the same order in which it wasrecorded, all Streaming Tape devices recognize the data reordering thattakes place during a rewrite.

6.3.1 Frame Rewrites

If during a RWW verify it is determined that a frame is bad, then theframe in error is rewritten in the next available tape frame. Whenrewriting a bad frame, the following frame is also rewritten regardlessof whether it was verified good or bad. For all rewritten frames, theLogical Frame Address and the Frame Sequence Number are unchanged forthe rewritten frame; but, the Tape Frame Address is assigned theappropriate address for the physical location. All frames have a uniquetape frame address on tape. All rewrites take place on a frame basis. InFIG. 28, FIG. 29, FIG. 30, FIG. 31, and FIG. 32, each square representsa tape frame, n is the Frame Sequence Number, and a RWW read status isshown. A logical frame pair (the frame that returned bad status duringthe RWW read and the frame immediately following it) may be rewritten upto 64 times consecutively. More than 64 consecutive rewrites constitutesa hard write error.

FIG. 28 shows an example of a logical frame sequence, no errorconditions. FIG. 29 shows an example of a first possible rewrite logicalframe sequence. FIG. 30 shows an example of a second possible rewritelogical frame sequence. FIG. 31 shows an example of a third possiblerewrite logical frame sequence. FIG. 32 shows an example of a fourthpossible rewrite logical frame sequence.

6.3.2 Rewrite Criteria 6.3.2.1 Servo Tracking Errors

In the case of an off-track condition during a write, the writeoperation is suspended. Any frame in progress or pending frame iswritten upon requisition of proper track following.

When a maximum length (in tape frames) that a lack of servo lockcondition is allowed to exist in a stream is exceeded, the devicerepositions and re-attempts the write, or returns a fatal write errorcondition to the host. Extreme caution must be exercised when thiscondition exists in the vicinity of a partition boundary or track end.

The write pass counter is used to signify a frame's validity for themost recent write pass. FIG. 33 shows the use of the write counter, twocopies of logical frames with Frame Sequence Numbers n and n+1 can beseen. The copies with the lower write pass counter (PassCnt) are from anearlier write pass (PassCnt=4). They were not overwritten during thelatest write pass (PassCnt=5), due to a servo tracking error condition.During the write pass, the tracking error existed for less than 2 tapeframe lengths, then valid tracking was re-established, and the writeresumed from frame n.

6.3.2.2 Servo Dropout Conditions

A servo dropout is a total loss of servo tracking signal. The conditionis created by a large tape defect or a loss of tape to head contact.When a servo dropout occurs the device ceases writing until servotracking is reacquired. The condition is treated the same as ServoTracking Errors, except that the device interprets the length of tapetraveled since servo data is not available to indicate tape frames.Extreme caution must be exercised when this condition occurs in thevicinity of partition boundaries or track ends.

7 OPERATION 7.1 Interchangeable Media and Recording Thereon

As shown in FIG. 1, tape 32 (housed in cartridge 30) can be utilized bya plurality of device types, including A/V type device 44, random accesstype device 46, and sequential access type device 48. Two of thesedevice types, random access device 46 and sequential access device 48,can be used to write both A/V programs and non-A/V data to the same tape32. Described below with reference to FIG. 34 are steps implemented by ahost computer of either random access device 46 or sequential accessdevice 48 in a mode of recording on tape 32. The steps results fromexecution by a processor of the host of a set of coded instructions. Theset of coded instructions is stored in a memory of the host.

At step 34-1, the host computer initiates a write to tape 32 via itsconnected access device. Again, it is mentioned that the access deviceintended with reference to FIG. 34 can be either of devices 46 or 48,and that the host is either of their respective hosts 66 or 68.

Step 34-2 shows the host accessing (e.g, from its memory e.g., a diskfile!) the data that is to be recorded on tape 32. Depending on whetherthe data to be recorded is A/V data or not (see step 34-3), either step34-4 is executed (for A/V data) or a series of steps A-5, A-6, and A-7are executed (for non-A/V data).

If non-A/V data is to be recorded, at step 34-5 the non-A/V data is readfrom the host's memory (e.g. disk). Step 34-6 shows the host-obtainednon-A/V data being recorded on tape. In the recording of step 34-6, 32Kbytes of user data and a corresponding AUX data structure 300 (preparedby tape/volume manager 136) are fetched from buffer memory 116 and sentto formatter/deformatter 118 for inclusion in a frame.Formatter/deformatter 118 includes in each frame further information asunderstood with respect to FIG. 12, including C1 and C2 parity values.

The reading of host non-A/V data (step 34-5) and recording to tape (step34-6) continues until an end of file is encountered (step 34-7). If anend of file is encountered at step 34-7, a check is made at step 34-8whether another file is to be written to tape 32. If another file is tobe written, execution returns to step 34-2 for a repetition e.g., ofsteps described above.

The writing of A/V data to tape 32 preformed at step 34-4 is shown inmore detail in FIG. 35. FIG. 35 illustrates substeps involved in the A/Vwrite procedure of step 34-4. Step 35-1 depicts the beginning of writingof A/V data to tape 32. At step 35-2, the host sets various A/V modeparameters necessary for recording of A/V data. Among the parameters setat step 35-2, the mode select error recovery page is set (aconfiguration command from the host in SCSI and ATAPI), the read retrycount is set to zero, and the write retry count is set to zero Thesetting of these data rate parameters reflects the fact that therecording of the A/V data can be lossy so that, e.g., data rate will notbe determined by the drive, but instead only by the host.

At step 35-3, the host determines and saves in host memory the startingaddress on tape 32 at which the A/V data will reside. The startingaddress is the tape frame address at the time the modes are changes toindicate A/V data. At step 35-4 the host sets a flag indicative of thefact that a new A/V entry will be required in TOC frame 342 (see FIG.19) for the new A/V data program.

Step 35-5, step 35-6, and step 35-7 show the host reading the A/V datato-be-recorded from its memory (e.g., disk) and recording the same ontape 32 (step 35-6) until an end of file is encountered (step 35-7). Thewriting of frames at step 35-6 occurs in much the same manner asdescribed above with respect to step 34-6. When an end of file isencountered, the host saves the ending address of the A/V program inhost memory (step 35-8). Then, prior to completion of the A/V write(indicated by step 35-10), the host clears the A/V mode parameters (step35-9). In clearing the A/V mode parameters, the mode select errorrecovery page is set so that either the read retry count or write retrycount are set to non-zero values for non-A/V mode.

After all files have been written by the host to tape 32, at step 34-9the host writes to tape 32 to update the track table frame 344 (see FIG.19). As indicated previously, the track table frame 344 contains a lookup table which is used to translate the logical frame address to thetape frame address. The data structure of track table frame 344 is shownin Table 19, wherein it is seen that the track table frame 344 has aplurality of entries. A format of each of the entries in the track tableframe 344 is shown in Table 20. Thus, at step 34-9 the host updates theentry in the track table frame 344 that pertains to the partition inwhich the data just written has been recorded.

At step 34-10 the host determines whether any of the data files writtenin the previous steps were A/V programs. If any A/V programs werewritten, the table of contents (TOC) frame 342 (see FIG. 19) is updatedat step 34-11. The data structure for the TOC frame format is shown inTable 18. As mentioned previously, the TOC frame 342 contains a list ofall A/V programs on tape 32. In updating TOC frame 342, for each A/Vprogram just recorded to tape 32, the host creates an entry for TOCframe 342, the format of the entries being set forth in Table 12. In sodoing, the host stores in the entry, among other parameters described inTable 12, the tape frame starting address as determined from step 35-3and the tape frame ending address as determined from step 35-8. Also, inaccordance with the number of new entries and lengths thereof, the hostupdates the count of the number of entries and length of table in TOCframe 342.

After the track table frame 344 and, when necessary for A/V programs,the TOC frame 342 have been updated, the record mode of the host isterminated, as reflected by step 34-12.

In the writing of data to tape 32 as occurs in step 34-6 (for non-A/Vdata) or step 35-6 (for A/V data), the location in which the data is tobe written must be determined and accessed on tape 32. For non-A/V data,the determination of the location is device dependent. For A/V devices,the TOC frame is consulted as having an indication of the location. Ofcourse, in recording of user data, the devices must skip over thecontrol frames in partition -1 before writing user data to tape. Anystructure not supported by a particular device must be written by afiller frame (a frame type 00h with a physical block number as the onlyother valid field).

User data is recorded in step 34-6 (for non-A/V data) or step 35-6 (forA/V data) in frames as herein described. As mentioned above, the AUXdata structure 300 for a frame is prepared in buffer memory 116 bytape/volume manager 136 acting through buffer manager 131.- Componentsof a frame are fetched from buffer memory 116 and applied toformatter/deformatter 118. Formatter/deformatter 118 builds the frame,including other information understood from FIG. 12 including C1 and C2parity values. The frame built by formatter/deformatter 118 is appliedto write driver 164 for recording on tape 32. It will be recalled thatAUX data structure 300 (see Table 1) has a frame identify field fordesignating the type of frame being recorded (see Table 2 and Table 3).Thus, upon recording of a frame, the AUX data structure 300 of thatframe includes an indication of its type of frame and accordinglywhether the frame contains A/V data or not.

The invention implements a strategy of control tables or control framesto implement the multipurpose functions of tape 32 (e.g, tape beingusable by differing types of devices). In particular, tape 32 has areserved area wherein necessary ones of a plurality of potential controlor configuration tables can be recorded. Which control tables arenecessary depends on the type of data recorded on tape 32 and the typeof devices expected to read tape 32.

In the illustrated embodiments, the reserved area is a separate verticalpartition on tape 32 (partition -1) see FIG. 19!. It should beunderstood that the reserved area can take other forms in otherimplementations (e.g., a reserved horizontal partition, or reservedlocations in a partition shared with user data, for example)

The illustrated embodiments, the control or configuration tables areframes which are synchronized to a hard sectored format. Again it shouldbe understood that the tables need not each have a separate frame, butcan be stored on the tape in other ways.

The particular control tables or frames herein provided includepartition boundary frame 340, table of contents frame 342, track tableframe 344, defect map frame 346, and identify frame 348. As shown inFIG. 19, two sets 322 of necessary frames are recorded, one set being ina forward direction; the other set being in the reverse direction. Theorder of recording of the necessary ones of the control frames is aslisted above.

Partition boundary table frame 340 is a necessary frame for all tapes.Any tape having an A/V program recorded thereon must also have the tableof contents (TOC) frame 342, since TOC frame 342 includes e.g., alisting of all A/V programs on the tape.

All tapes having random access data recorded thereon must have, inaddition to partition boundary frame 340, the defect map frame 346. Inaddition, if the tape with random access data also has an A/V programthereon, the TOC frame 342 must be included.

All tapes having sequential access data recorded thereon must have, inaddition to partition boundary frame 340, the track table 344. Inaddition, if the tape with sequential access data also has an A/Vprogram thereon, the TOC frame 342 must be included.

In the multi-mode tape format disclosed herein, a common method isprovided for exchange of audio/video data. The disclosed tape formatserves as random access data storage, streaming tape data recorder,and/or digital entertainment (i.e. movies or music) programrecorder/player, a common recording method is desired for audio/video(A/V) data streams. By utilizing the concept of an A/V program and atable-of-contents (TOC), which lists the beginning and end of each A/Vprogram, all three implementations can interchange the A/V data.Although data format incompatibilities inherently will exist between therandom access and stream data recorder formats (and a simple A/Vrecorder/player will be unable to interpret data from either), the A/Vcomponent is common to all.

The ability exits for any of the MPDR device models to record andplayback the audio/video stream data format. Other data is stored as aseries of logical blocks and cross platform access are implementationdependent.

7.2 Flexible Partitioning

Section 2.3 describes the logical division of tape 32 into rectangularpartitions, each partition being a logically independent unit. Theexample of tape provided herein is a hard sectored tape format in whichall recording entities (blocks and frames) have fixed and knownlocations on the tape.

Each partition is defined by two points on a diagonal. A verticalpartitioning method is illustrated in FIG. 13 and FIG. 14; a horizontalpartitioning method is illustrated in FIG. 15 and FIG. 16.

According to the present invention, rectangular partitions can becreated with differing partitions having differing numbers oftracks/logical tracks per partition, and/or differing numbers of framesper track. Thus, partitions can be flexibly mapped or tiled on tape 32,with a combination of horizontal partitioning and vertical partitioningas desired. The present invention provides method and apparatus fordefining and controlling such tiled flexible partitions.

One such example of tiled flexible partitioning is shown in FIG. 18.FIG. 18 shows a tiled combination of horizontal and vertical partitions,each partition being defined by (A,B) diagonal physical frame pairs ontape. FIG. 18 illustrates creation of seven partitions, i.e., theconfiguration partition and Partition 0 through Partition 5, on tapemedia 32. Partition 0 is a horizontal partition. The remainder of tape32 has vertical partitions Partition 3, Partition 4, and Partition 5,with yet remaining portions of the tape horizontally partitioned intoPartition 1 and Partition 2. In the example of FIG. 18, variouspartitions may be utilized by differing types of devices. For example,some of the partitions may be created for audio/visual device 44; othersof the partitions may be created for random access device 46; yet othersof the partitions may be created for sequential access or streamingdevice 48 (see FIG. 1).

A directory at the beginning of tape 32 serves as a central list of thediagonal coordinates of each partition. Specifically, the PartitionBoundary Frame 340 at the beginning of tape (see FIG. 18) is employed.Frame 340 includes a partition boundary data structure which contains adefinition of the number partitions on the media, and the beginning andend locations of each of the partitions. In addition, the PartitionBoundary frame 340 contains, for each partition, a Tape Device ModelField which indicates for which type of device (e.g., audio/visualdevice 44; random access device 46; sequential access or streamingdevice 48) the partition was created.

For the example of FIG. 18, the Partition frame Structure has sevenPartition Boundary Entries, one entry for each of the configurationpartition and Partition 0 through Partition 5. The diagonal physicalframes of each partition are determined with reference to the PartitionEntry Data Structure for each partition

The AUX data structure 300 (see FIG. 12) also serves to identifypartition boundaries on tape 32. In particular, AUX data structure 300contains both a Partition Control Field and a Partition DescriptionField (see Table 1). The functions served by the fields are summarizedbelow.

When information is being recorded to tape, the present inventionprovides the host with an indication that the recording device isapproaching the end of the permissible recording area (end ofpartition), or that the device is approaching the end of track and must:turn a corner. These indications are called early-warning (EW)indications or early-warning markers. In particular, there are two typesof early-warning markers: the Logical-early-warning (LEW) marker and theCorner-early-warning (CEW) marker. Both of these early-warning markersare stored in AUX data structure 300 of a frame, or they may becalculated based on a stored knowledge of the partition geometry (alsoin the AUX data structure 300), and particularly reside in the PartitionControl Field of AUX data structure 300 for A/V data streams.

The Logical-early-warning (LEW) marker is placed in a physical frame atsome distance prior to the end of a partition. The purpose of the LEWmarker is to notify the system that the end of the allowable recordingarea is imminent.

The Corner-early-warning (CEW) marker is placed in a physical frame atsome distance prior to beginning of partition on this track (BOPT) orend of partition on this track (EOPT). The purpose of the CEW marker isto notify the system that a track corner turn is imminent. In the caseof an isosynchronous data stream, this warning allows the system time tobuffer sufficient data, ensuring that the pause in data flow during thecornering operation does not adversely affect the asynchronous nature ofthe data stream.

The Partition Control Field, in which these and other markers arestored, is shown in Table 14 and is provided in bytes 334-335 of AUXData Structure 300. The Partition Control Field thus has a 16 bit fieldused for storing these markers or other flags used to indicate partitionboundary conditions and marker frame identifiers. The following areexamples of the markers or flags contained in the Partition ControlField: Beginning Of Partition this Track (BOPT); End of Partition thisTrack (EOPT); Corner Early Warning (CEW), Logical Early Warning (LEW).FIG. 21 is a schematic view of magnetic tape media having variouspartition-related markers and flags of the present invention.

Placement of the early warning (EW) markers on a track in a partition isdependent upon numerous factors as understood herein, including buffersize, reading/recording rate, and tape linear speed. Such factorsinfluence how many frames must separate a frame containing an earlywarning (EW) marker from a frame which forms a partition boundary.

The horizontal partition boundaries are defined by the tracks or logicaltracks, the vertical partition boundaries are indicated through the useof the beginning-of-partition-track (BOPT) flags, and theend-of-partition-track (EOPT) flags. During a read of the tape media,the XOPT (x being either a B or E) flag indicates that the partitionboundary has been reached and that the device must change tracks anddirection to remain within the current partition. The use of thepartition boundary markers or flags in the AUX data structure allowssimplified cross platform utilization of the partitions during read. Adevice reading the tape need only detect the flags in order to navigatethe partition boundaries and does not need to constantly mathematicallymodel the partition.

Thus, in a hard sectored format rectangular partitions may be createdthat are identical models of the total tape, differing only in thenumber of tracks/logical tracks and frames per track.

While relying somewhat on command sets between the device 20 and host,the partitioning flexibility is not necessarily limited thereby. In oneembodiment involving simple partitioning schemes, for example, device 20determines the geometry of the partitioning scheme based on a hostcommand which specifies the number of partitions and the size of each.In another example embodiment which particularly utilizes random accessdata, the host (utilizing an appropriate device driver) defines thepartition geometry in order to optimize storage of data that the hostknows it will send to the drive.

7.3 Control of Tape Speed and Read/Record Clocking

Conventional drives use external references, e.g., crystal oscillators,to control linear speed of tape and the rate of recording of data on thetape. As seen hereinafter, the linear speed of tape 32 is controlled bythe data transfer rate to and from the host as reflected, e.g., by adetected "buffer level" of buffer memory 116. The rate of recording ofuser data is, in turn, dependent upon the linear speed of tape 32 asdetected with reference to the clocking signal TS_(c).

In the present invention, linear motion is imparted to tape 32 bycartridge belt 37 (see FIG. 1). Cartridge belt 37 is entrained aboutcartridge puck 38 and revolves in a belt path (partially in contact withtape 32) as cartridge puck 38 rotates. Cartridge puck 38 rotates when incontact with drive capstan 152. Drive capstan 152 is rotated by capstanmotor driver 150, which is driven by capstan motor driver 156 (see FIG.2).

Tape speed controller 133 of processor 130 seeks to control capstanmotor driver 156 so that capstan 152 is rotated at a suitable rotationalspeed to impart a desired linear velocity to tape 32. Tape speedcontroller 133 receives a feedback signal from capstan speed sensor 154or servo clock recovery circuit 174 to ascertain the rotational speed ofcapstan 152. As hereinafter described, tape speed controller 133determines the desired linear velocity of tape 32 based on a value(represented by line 133-3) from buffer fill monitor 132.

FIG. 36A shows a first embodiment of tape speed controller 133. Aninitial desired tape speed value (in, e.g., inches per second) isapplied to tape speed controller 133 as represented by input 133-1.Adder 133-2 adds an adjustment value (represented by input line 133-3)and a tape linear velocity feedback signal (TLV) to the initial value133-1. The output of adder 133-2 is applied to capstan motor driver 156on line 133-5. Thus, the value of the signal on line 133-5 is used tocontrol capstan motor driver 156, which in turn drives capstan motor150, which in turn rotates drive capstan 152. Rotation of drive capstan152 causes rotation of cartridge capstan puck 38, and consequentiallythe linear velocity of belt 37 and tape 32.

In the embodiments hereof, it should be understood that a clamping ofthe signal to control capstan motor driver 156 can occur either withrespect to maximum velocity, minimum velocity, or acceleration.

The adjustment value represented by input line 133-3 depends on theamount of user data in buffer memory 116. In this regard, buffer fillmonitor 132 (see FIG. 2) outputs a buffer level value represented byline 133-6. The buffer level value on line 133-6 is in units of framenumbers or buffer memory location numbers. An adder 133-7 adds thebuffer level value and a buffer level normalization value (a negativequantity represented by line 133-8). Adder 133-7 yields a buffer leveldifferential value on line 133-9. If the buffer level value exceeds thebuffer level normalization value, the buffer differential value has apositive sign but a negative sign otherwise. The buffer leveldifferential value is applied both to gated mode-dependent (write)compensation function 133-10 and to gated mode-dependent (read) gaincompensation function 133-11. Compensation functions 133-10 and 133-11are functions of the present and, if desired, the past linear velocityof tape 32 and can include, for example, a gain multiplier. When thedrive is in a write mode, write compensation function 133-10 applies apositive gain factor (represented as A_(buff)) to convert the bufferlevel differential value to the units of input value 133-1 (e.g., inchesper second) and outputs the adjustment value on line 133-3. When thedrive is in a read mode, on the other hand, read gain compensationfunction 133-11 applies an inverted (e.g., negative) gain factor(represented as -A_(buff)) to convert the buffer level differentialvalue to the units of input value 133-1 (e.g., inches per second) andoutputs the adjustment value on line 133-3.

Thus, adder 133-2 receives the initial input value (line 133-1), theadjustment value (on line 13-3), and the tape linear velocity value. Inone embodiment, the tape linear velocity (TLV) value is always thecapstan speed sensor feedback value applied on line 186. In anotherembodiment, the tape linear velocity (TLV) value switches from thecapstan speed sensor feedback value to a value derived from the actualtape linear velocity. In this regard, FIG. 36A shows a switch, gate, ormultiplexer 133-15 which selects between two inputs to form its TLVoutput value. A first input to switch 133-15 is the capstan speed sensorfeedback value on line 186; the second input to switch 133-15 isconnected to an output terminal of converter 133-16, which has its inputterminal connected to line 179. In FIG. 36B, the interrupt on line 179indicative of the beginning of a cycle of servo clock signal TS_(c) isapplied to a converter 133-10. Converter 133-16 times the intervalbetween interrupts on line 179 (e.g, the number of cycles) and applies acompensation factor (e.g., multiplier) so that its output is inappropriate units for application to adder 133-2.

Switch 133-15 is operated by a control flag (represented by line133-22). In one mode of operation, control flag 133-22 has a first valueat the beginning of drive operation so that the capstan speed sensorfeedback value on line 186 is first selected as the the tape linearvelocity value (TLV). Then, after sufficient start-up time has elapsed,control flag 133-22 changes values so that the signal from converter133-16 (based on the actual linear velocity of tape 32) is selected.

In subsequently described embodiments of FIG. 36C and FIG. 36D, theidentifier "TLV" is employed to generically denote tape linear velocity,which can be obtained either from capstan speed sensor 154 (on line 186)or from the actual linear velocity of tape 32 (from converter 133-6).

Thus, the adjustment value represented by line 133-3, which is dependenton the amount of user data in buffer memory 116 relative to the bufferlevel normalization value, is used to determine a desired linearvelocity for tape 32. In other embodiments of tape speed controller 133,described for example in FIG. 36B, FIG. 36C, and FIG. 36D, other factorsare utilized in addition to the user data level in buffer 116 todetermine desired tape linear velocity.

If, in a read mode, the level of user data in buffer memory 116(indicated by line 133-6 in FIG. 36A) falls below the buffernormalization value (represented by line 133-8), the rate of user dataacquisition from tape 32 is falling behind the data requirements of thehost. In such case, the buffer level differential value 133-9 has anegative value and a magnitude equal to the difference of values 133-6and 133-8. Read gain multiplier 133-11 scales and inverts the bufferlevel differential value 133-9 to provide the buffer level-dependentadjustment value 133-3. The adjustment value 133-3 is a positive value,which serves to increase the desired linear velocity of tape 32. Anincrease in the linear velocity of tape 32 causes faster reading of userdata from tape 32, thereby allowing more filling of buffer memory 116.Operation continues in this manner until the buffer fill level reachesthe desired buffer normalization value.

If, in the read mode, the level of user data in buffer memory 116(indicated by line 133-6 in FIG. 36A) rises above the buffernormalization value (represented by line 133-8), the rate of user dataacquisition from tape 32 exceeds the data requirements of the host. Insuch case, the buffer level differential value 133-9 has a positivevalue and a magnitude equal to the difference of values 133-6 and 133-8.Read gain multiplier 133-11 scales and inverts the buffer leveldifferential value 133-9 to provide the buffer level-dependentadjustment value 133-3. The adjustment value 133-3 is then a negativevalue, which serves to decrease the desired linear velocity of tape 32.A decrease in the linear velocity of tape 32 causes slowing of thereading of user data from tape, thereby allowing more emptying of buffermemory 116. Operation continues in this manner until the buffer filllevel reaches the desired buffer normalization value.

If, in a write mode, the level of user data in buffer memory 116(indicated by line 133-6 in FIG. 36A) falls below the buffernormalization value (represented by line 133-8), the device is writinguser data to tape 32 at a rate faster than user data is being acquiredfrom the host. In such case, the buffer level differential value 133-9has a negative value and a magnitude equal to the difference of values133-6 and 133-8. Write gain multiplier 133-10 scales the buffer leveldifferential value 133-9 to provide the buffer level-dependentadjustment value 133-3. The adjustment value 133-3 is a negative value,which serves to decrease the desired linear velocity of tape 32. Adecrease in the linear velocity of tape 32 causes writing of user datato slow down, so that the amount of user data in buffer memory 116 canincrease. Operation continues in this manner until the buffer fill levelreaches the desired buffer normalization value.

If, the write mode, the level of user data in buffer memory 116(indicated by line 133-6 in FIG. 36A) rises above the buffernormalization value (represented by line 133-8), the rate of writing totape 32 is falling behind the rate of acquisition of use data from thehost. In such case, the buffer level differential value 133-9 has apositive value and a magnitude equal to the difference of values 133-6and 133-8. Write gain multiplier 133-10 scales the buffer leveldifferential value 133-9 to provide the buffer level-dependentadjustment value 133-3. The adjustment value 133-3 is then a positivevalue, which serves to increase the desired linear velocity of tape 32.An increase in the linear velocity of tape 32 causes the writing of dataat a faster rate, thereby lowering the buffer fill level. Operationcontinues in this manner until the buffer fill level reaches the desiredbuffer normalization value.

FIG. 36E shows another embodiment of tape speed controller 133 whereinan input desired initial value or target position (represented by line133-60) is in units of buffer location. In the FIG. 36E embodiment, userdata locations in buffer memory 116 correspond directly to originallocations (e.g., non-re-write locations) on tape 32. Buffer memory 116is conceptualized has having incrementally moving windows of user datawhich correspond to physical positions on tape, e.g., hard sectoredframes having positions delimited and addresses decodable from the servoclock signal TS_(C). Therefore, in FIG. 36E, a normalization (i.e.,"target") position within buffer 116 has a corresponding target positionon tape. As data is transferred to and from buffer memory 116, thetarget position moves incrementally along tape 32. FIG. 36E shows anactual tape position value (represented by line 133-62) being subtractedat adder 133-64 from the target position value (line 133-60) to yield aposition error value (represented by line 133-66). The position errorvalue is applied to a buffer compensation function 133-70 which outputsa control signal which can be, for example, a pulse width modulatedcontrol signal. The control signal from buffer compensation function133-70 is applied on line 133-74 to capstan motor driver 156, therebyendeavoring to obtain a desired tape position on tape 32.

The actual tape position value (represented by line 133-62) is outputfrom tape location detector 135 and can be obtained in a number of ways.In a first way, formatter/deformatter 118 provides an indication on line133-82 of a physical frame number which has been retrieved from a frameactually read on tape 32. In a second way, tape location detector 135keeps tracks of the interrupts provided on line 179 and uses suchtracking to determine physical longitudinal location on tape 32. Forexample, detector 135 can count off cycles of the servo signal TS ontape, and thereby count off frames on tape 32 upon receiving, in theillustrated embodiment, thirty six interrupts on line 179 for each frameon tape. Detector 135 can keep track of such count from the beginning oftape (knowing when to begin such frame counting at the beginning of userdata on tape in view of the differing modulation schemes of buried servosignal TS_(C) for user data and non-user information e.g., start oftrack marker!). Further, when reading begins in mid-tape, the encodingof the buried servo signal TS_(C) as described in §7.6.1 can be utilizedto obtain an indication of horizontal position relative to beginning oftape, and the counting of interrupts on line 179 indexed relative tothat horizontal position.

The foregoing describes how the buffer fill level (FIG. 36A, FIG. 36B)or tape position (FIG. 36E) is used to set the desired tape linearvelocity. The present invention uses the actual linear velocity of tape32, rather than the above-described desired linear velocity of tape 32,to control rates of reading and recording data to tape 32. As describedbelow, variable clock controller 134 of processor 130, voltage controloscillator 160, servo clock recovery circuit 174, and clock modulationdetector 180 are all involved in ensuring that the rates of reading andrecording data are dependent upon the actual linear velocity of tape 32.

As indicated previously, servo clock recovery circuit 174 recovers theburied servo clock signal TS_(C) from at least one physical track of thelogical track. Servo clock recovery circuit 174 generates an interrupton line 179 at the beginning of each clock cycle (e.g., at eachpositive-going zero crossing transition of servo clock signal TS_(C) seeFIG. 13!). The interrupt on line 179 is indicative of a beginning of newcycle of servo clock signal TS_(C) and is applied on line 179 tovariable clock controller 134. Servo clock recovery circuit 174 alsoapplies the recovered servo clock signal TS_(C) to clock modulationdetector 180 (see FIG. 2).

Functions of a first embodiment of variable clock controller 134 areshown in FIG. 37. Variable clock controller 134 receives both theinterrupt on line 179 indicative of beginning of each new cycle of servoclock signal TS_(C) and the output (feedback) signal of VCO 160 on line162. Variable clock controller 134 comprises a counter 134-1 whichcounts pulses output from VCO 160 and received on line 162. Counter134-1 is clock-enabled by the interrupt on line 179. At the end of eachcycle of servo clock signal TS_(C) counter 134-1 outputs a VCO actualcount value (represented by line 134-2) to an adder 134-3. Adder 134-3also receives a desired VCO count value as represented by input line134-4. In the illustrated embodiment, the initial VCO count value is1425. In timed relation with the end of each cycle of servo clock signalTS_(C), adder 134-3 outputs an error value (represented by line 134-5)to VCO compensator 134-6. In one embodiment, VCO compensator 134-6 is aproportional integral compensator which multiplies the error value online 134-5 by a compensation value which is a function of the error and,if desired, past errors. A compensated control signal output from VCOcompensator 134-6 is applied to a digital to analog converter (DAC)134-7. The analog output signal from converter 134-7, also known as theVCO voltage drive signal, is applied on line 161 to VCO 160.

Thus, in the embodiment of FIG. 37, variable clock controller 134endeavors to drive VCO 160 so that VCO outputs 1425 counts or pulsesduring each cycle of servo clock signal TS_(C).

In a second embodiment of variable clock controller 134 shown in FIG.37A, VCO counter 134-1 receives the capstan speed sensor feedback valueapplied on line 186 instead of the interrupt on line 179. Thus, in theembodiment of FIG. 37A counter 134-1 counts pulses output from VCO 160and received on line 162 between tach pulses of the capstan received online 186. In the embodiment of FIG. 37A, compensation or adjustment ismade so that the VCO pulses are properly calibrated relative to the tachsignals from capstan speed sensor 154. Thus, in contrast to theembodiment of FIG. 37, in the embodiment of FIG. 37A variable clockcontroller 134 endeavors to drive VCO 160 so that VCO outputs apredetermined number of pulses between tach counts of capstan motor 150(see FIG. 2).

In a third embodiment, VCO counter 134-1 of variable clock controller134 is programmably or otherwise controlled to select between either ofline 179 or line 186 as its clocking input. In such embodiment,selection is also make of proper calibration or compensation values.

VCO 160 oscillates at the rate determined by variable clock controller134 (in the manner described above) in accordance with the VCO voltagedrive signal on line 161. The oscillation rate of VCO 160, in a readmode, e.g., initiates and drives a digital sampling process of data forconstituting a read clock. The signal from oscillator 160 enables theresponse of the digital read filters to scale with the actual data rate,thereby adding robustness to the detection process. In a write mode, theoscillations of oscillator 160 become the actual clock rate forrecording. In this regard, clock pulses outputted from VCO 160 areapplied to each of the recovery circuits 174, 176, and 178, as well asto write driver 164. Recovery circuits 174, 176, and 178 thus use theactual tape speed-dependent clock signal outputted by VCO to time therecovery of the servo signal TS and user data. Similarly, write circuit164 uses the clock signal outputted by VCO 160 to time the recording ofinformation to tape 32.

Thus, the present invention makes the data transfer rate in read channel172 and write channel 164 dependent upon the linear velocity of tape 32.In the embodiment of FIG. 37A, the linear velocity is the desired linearvelocity of tape 32 as determined from capstan motor 150. In theembodiment of FIG. 37, on the other hand, the linear velocity of tape 32upon which the data transfer rate is dependent is the actual tape linearvelocity as assessed from the buried servo signal. Thus, in theembodiment of FIG. 37, the present invention takes into account tapespeed transients introduced e.g., by cartridge 30. With the read andwrite clock of the present invention being directly dependent uponlinear velocity of tape 32, data is more accurately recovered from tape32. Moreover, data is more uniformly recorded and accurately positionedon tape 32, thereby resulting in better signal recovery and moreeconomical utilization of tape 32.

The embodiment of FIG. 36B differs from those described above in thattape speed controller 130 further includes a buffer level normalizationvalue adjuster 133-30 for dynamically changing the buffer levelnormalization value (indicated as 133-8). Adjuster 133-30 receives aninitial buffer level normalization value as an input represented by line133-31. Adjuster 133-30 also has access to buffer manager 131 (asindicated by line 133-32) in order to obtain performance and historicalinformation e.g., regarding levels of user data in buffer memory 116. Inone mode, adjuster 133-30 uses the information obtained from buffermanager 131 to perform statistical analyses regarding the levels of userdata in buffer memory 116 (e.g., histogram, average, standard deviation,skew, etc.). In the same or another modes, adjuster 133-30 applies anasymmetric distribution function to indicate an advantage to change thebuffer normalization value. For example, adjuster 133-30 can determinethat short bursts of fast reading interspersed with longer periods ofslow reading can be served by keeping the buffer mostly full, and viceversa. Such distributions have a large first moment metric (e.g., skew).In another mode, adjuster 133-30 applies a predictive algorithm (e.g.,Levinson-Shurr) to estimate future values of sequenced based on dynamicregression of past samples. The predictive algorithm is applied tosequence host data rates sampled at regular intervals, and to adjust thedrive data rate according to a value predicted for the host.

It should be understood that variations of the foregoing are envisionedand provided in alternate embodiments. For example, in anotherembodiment, both counter 134-1 and DAC 134-7 are provided in ASICS whichare external to variable clock controller 134.

7.4 End of Track/Corner Early Warning

As indicated previously, frames 220 of data can be recorded on tape 32by a device, such as random access device 46 or sequential access device48, upon instigation of recording by a host computer connected to thedevice (see FIG. 1). As frames are recorded on tape 32 (see, forexample, steps 34-6 and 35-6 of FIG. 34 and FIG. 35, respectively), acorner early warning (CEW) marker is generated by tape/volume manager136 and included in the AUX data structure 300 of each frame (see Table1), and particularly in the partition control field (see Table 11 and§4.1.10). The CEW indicates, upon recording, that the write head isapproaching a boundary position on the tape at which the write head mustchange tracks in order to continue recording frames. As used herein inconnection with CEW, "boundary position" means either a verticalboundary of a partition or an end of a track but not the end of data.

The tape/volume manager 136 is able to generate the CEW for inclusion inAUX data structure 300 in view of manager 136's foreknowledge of theformat of tape 32 including partitioning of tape 32.

According to one recording mode of the invention, when the CEW valuechanges from a normal value to a warning value, an indication isprovided that head unit 100 is a predetermined number of frames from aboundary position. In an embelishment of this mode, illustrated in FIG.36C, tape/volume manager 136 applies a value (represented by line 137)indicative of whether the CEW value is the normal value or the warningvalue to tape speed controller 133. The embodiment of the to tape speedcontroller 133 shown in FIG. 36C differs from that of FIG. 36A byincluding a switch which remains open so long as the value applied online 137 is the normal CEW value. However, if tape/volume manager 135assigns a warning value to the CEW field of an AUX structure 300 of aframe 220 which is about-to-be-recorded, the value on line 137 changesto indicate that the warning value is being generated. The value on line137 indicative of a warning value causes switch 133-40 to close. Closureof switch 133-40 causes a predetermined CEW adjustment value to beapplied (as reflected by line 133-42) to adder 133-2. Application of theCEW adjustment value to adder 133-2 serves to increase the desired tapelinear speed. The increase of speed of tape 32 is appropriate, in viewof the fact that it such an increase tends to lower the level of userdata in buffer memory 116. The lowered level of user data in buffermemory 116 is beneficial since head unit 100 will soon engage in a trackcorner turning exercise. During the track corner turning exercise, nouser data will be taken out of buffer memory 116 but user data from thehost will continue to be introduced into buffer memory 116. Therefore,the lowering, in advance of the track corner turn, of the level of userdata in buffer memory 116 serves as a helpful caching technique thatavoids excessive filling of buffer memory 116. Advantageously, thiscaching technique means that the invention does not require large sizebuffers as do prior art drives that must have extra buffer space toaccumulate user data from the host during a track corner turn.

The embodiment of FIG. 36C also provides a caching function in an readmode. Upon reading tape 32, when tape/volume manager 136 has determinedthat the CEW of the AUX data structure has changed from a normal valueto a warning value, the value represented by line 137 changes to closeswitch 133-40. The predetermined CEW adjustment value thereby applied(as reflected by line 133-42) to adder 133-2 serves to increase desiredtape linear speed as in the write mode. Also in the read mode theincrease of speed of tape 32 is appropriate. In this regard, theincrease in tape speed causes a faster reading of user data from tape32, which in turn tends to raise the level of user data in buffer memory116. The raised level of user data in buffer memory 116 is beneficialsince head unit 100 will soon engage in a track corner turning exercise.During the track corner turning exercise, no additional user data willbe loaded into buffer memory 116, but the host will nevertheless expectthe same rate of requirement of user data from buffer memory 116.Therefore, the raising, in advance of the track corner turn, of thelevel of user data in buffer memory 116 serves also as a helpful cachingtechnique that avoids depletion of buffer memory 116 during a trackcorner turning event.

According to another embodiment of the invention, in recording, the CEWhas a value related to a number of frames that can yet be recorded onthe track before the boundary position is encountered. As explainedpreviously, in this embodiment the CEW serves as a count-down counterindicating that EOPT or BOPT is approaching in the logically forwarddirection. The value of CEW is a predetermined constant (a hexidecimalvalue of 255) if the number of frames that can yet be recorded on thetrack before the boundary position is encountered exceeds 254. Within254 frames of the boundary position, the CEW indicates the number offrames to the boundary position.

The embodiment of the invention wherein the CEW function as a downcounter employs the embodiment of tape speed controller 133 shown inFIG. 36D. The tape speed controller 133 of FIG. 36D differs from that ofFIG. 36A in having line 137 connected to a first input of adder 133-50.In this embodiment, line 137 carries the CEW value obtained from AUXdata structure 300. A second input of adder 133-50 is a negation of thepredetermined constant (hexidecimal value of -255). The sum produced byadder 133-50 is applied to a gain multiplier 133-54, which has anegative factor (represented as -A_(CEW)) for converting the CEW framenumber units to tape speed units (e.g,. inches per second, for example).The value obtained from gain multiplier 133-54 is applied as a CEWadjustment value on line 133-56 to adder 133-2.

The embodiment which uses the CEW as a down counter and the tape speedcontroller of FIG. 36D differs from the embodiment of FIG. 36C in that,in the embodiment of FIG. 36D, the CEW adjustment value applied to adder133-2 dynamically changes as the CEW value counts down.

In yet another embodiment, upon encountering a CEW warning marker thetape/volume manager 136 sends a CEW notification signal to notify thehost that the host should control its data transmission to the drive inview of the occurrence of the CEW early warning marker. Tape/volumemanager 136 sends the such a CEW notification signal to the host viacontrol processor 130 in which it is included and through interface 110(see FIG. 2).

In a reading mode, read elements 104 of head unit 100 read frames on ahorizontal logical track as head unit 100 travels in the logical forwarddirection. As frames are read in to buffer memory 116, tape/volumemanager 136 picks out the CEW value from AUX data structure 300 of eachframe. The CEW thus serves to apprise the device of the partitiongeometry, with the result that during reading the device need have noprior knowledge of the partition geometry. Not requiring prior knowledgeof the partition geometry simplifies the read procedure by reducingmemory requirements and code instructions.

7.5 Re-recording of Frames in the Random Access Model

Read-While-Write verification for random access device 46 (see FIG. 1)can be implemented in either of two modes. In a host-responsible rewritemode (described e.g., in §7.5.1), the host determines suitable rewritecriteria and rewrite locations on the tape for frames which are notreadable or which were incorrectly read during read-while-writeverification. In a device-responsible rewrite mode (described e.g., in §7.5.2), the device determines locations on the hard sectored tape 32 fora re-recording of such a frame.

7.5.1 Host-responsible Rewrite Mode

In the host-responsible rewrite mode, assuming that the device containsa RWW architecture, a verify failure is reported to the host as a writefailure. It is up to the host to determine suitable rewrite criteria andlocations. It is also up to the host to observe and update the DefectMap 346. The Random Access device does not perform automated rewrites ofuser data, it neither spares frames for rewrites nor sequentiallyrewrite frames in the event of a RWW verify failure. All responsibilityfor rewriting user data lies with the host.

7.5.2 Device-responsible Rewrite Mode

In a device-responsible rewrite mode, frames which cannot be read duringread-while-writing (RWW) or which are incorrectly read during RWW arecollectively known as defective frames and are re-recorded at reservedlocation(s) on tape 32. As used herein in the context ofread-while-writing, re-recording of frames, or reading of frames whichhave been re-recorded, a "reserved location" is a portion of tape 32 inwhich frames cannot be originally recorded, e.g., recorded for the firsttime.

In one submode of the invention discussed in more detail in §7.5.2.1, areserved location comprises a physical frame which shares a same trackwith the original physical frame location at which a frame is recorded.In this submode, reserved locations are interspersed among originalphysical frames at predetermined locations on the same track. Formulti-track or multi-channel frames, the reserved locations areinterspersed among original physical frames at predetermined locationson the same logical track.

In another submode of the invention discussed in more detail in§7.5.2.2, a reserved location is on another track of the tape which isnot employed for the original physical frame location. In this submode,the reserved location is preferably on a special track, or in thecontext of the format of FIG. 4 and FIG. 5, a special logical track.

In the device-responsible rewrite mode, the defect map frame 346 (SeeFIG. 19 and Table 22) has defect entries as shown in Table 23. Thedefect entries of Table 23 have two fields, each of four bytes--a firstfield for storing the physical frame number of a defective frame; asecond field for storing the physical frame number (in the reservedlocation) whereat the frame is re-recorded.

It should be understood that the re-recording of frames at reservedlocations as described herein is not limited to the format of FIG. 4 andFIG. 5 wherein eight channels or tracks are employed to form a logicaltrack or frame, but can also apply to devices having fewer (e.g., one)or more channels utilized per frame.

7.5.2.1 Interspersed Same-Track Reserved Locations for RWW

FIG. 38 shows a submode of the invention wherein frames are re-recordedat a reserved location, the reserved location comprising a physicalframe which shares a same track with the original physical framelocation at which a frame is recorded. In FIG. 38, the reserved locationis labeled "Frame Spare". The reserved location "Frame Spare" is shownas residing in the same horizontal logical track TG31 as Frame N (FrameN being the original physical location in which a defective frame wasfirst recorded). It should be understood that, in FIG. 38 as well as inFIG. 39 and FIG. 40A subsequently discussed, that frames areconsecutively spaced on the tracks and that the logical symbols shown,e.g., between frames, are provided only for facilitating illustration ofhead movement.

In the technique of FIG. 38, reserved locations (e.g., reserved physicalframe locations) are allocated periodically on each track. Inembodiments of multi-channel frames, the reserved locations (e.g.,reserved physical frame locations) are allocated horizontally, andpreferably periodically, on each logical track. The number of allocatedreserved locations and the frequency of reserved locations per track orlogical track is a trade off between tape capacity loss and performance.For example, if 10% of the capacity of a track or logical track isallocated for reserved locations, then nine frames are available foruser's data and the tenth frame is available for sparing. If a defectiveframe is detected during a write operation, then the frame is held inthe drive's buffer memory 116 (see FIG. 1) until a free spare frame,e.g, a free reserved location, is found, as shown in FIG. 38.

For the ensuing discussion, a "target" frame is a frame that is recordedto tape (either initially recorded or read and edited for recording atthe same place, e.g., the original location). When the target frame isdetermined to be defective in a recording or editing mode, the steps ofFIG. 38A are implemented.

At step 38A-1, the defect map frame 346 (see FIG. 19) is consulted todetermine an available spare frame, preferably the nearest in anappropriate direction, in the reserved location for rewriting of thetarget frame. In this regard, the known physical frame location of thetarget frame is compared with the values stored in defect map frame 346.Then, as shown by step 38A-2, the contents of the target frame areretained in buffer memory 116 while further frames are recorded insucceeding physical frame locations on the same track until the headunit reaches the physical frame location corresponding to the nearestspare physical frame location that was determined from the defect mapframe 346. At step 38A-3, the contents of the target frame arere-recorded at the frame spare on the same track, i.e., at the sparephysical frame location that was determined from the defect map frame346. Then, as shown by step 38A-4, the defect map frame 325 is updated.In particular, at step 38A-4, an entry in Table 23 is made for thedefective frame, the first four bytes of the entry being the physicalframe number of the defective frame and the second four bytes of theentry being the physical frame number at which the frame contents werere-recorded. Thus, the updated defect map frame 346 both indicates thatthe target frame's original area on tape is bad, and provides a pointerdesignating a new location for the target frame.

The procedure for reconstructing data containing a spared frame in aread operation according to the submode of FIG. 38 is shown in FIG. 38B.At step 38B-1, the drive locates all spared frames by consulting defectmap frame 346. Step 38B-2 shows the device reading up to a defectiveframe. At step 38B-3, pointers are extracted from defect map frame 346in order to obtain the new location of the spared frame, i.e., thephysical frame number which is the reserved location whereat thecontents of the defective frame are re-recorded. Step 38B-4 shows thehead unit continuing to read forward on the same track, placing inbuffer memory 116 the data obtained from ensuing frames, until thespared frame is encountered and its contents read and placed into buffermemory 116. A buffer control presents the contents of the frames storedin buffer memory 116 in proper order to the host.

The submode of FIG. 38, with the recording steps shown in FIG. 38A andthe reading steps shown in FIG. 38B, has the advantage of maximizingdata throughput only when a defective frame is encountered. If nodefective frames are encountered, the submode of FIG. 38 has thedisadvantage of decreasing the device's sustain rate by the allottedspare frame percentage. The periodicity and/or spacing of spare frameson a track is determined e.g., by the size of buffer memory 116dedicated to user data throughput and error rate.

7.5.2.2 Special Track(s) As Reserved Locations for RWW

FIG. 39 shows a submode of the invention wherein frames are re-recordedat a reserved location, the reserved location comprising a physicalframe which is on a different track than the track on which thedefective frame is originally recorded. For a multi-channel frame shownin FIG. 39, the reserved location is labeled "Re-written Frame N". Thereserved location "Re-written Frame N" is shown as residing in adifferent horizontal logical track TG39R than the horizontal logicaltrack TG39 in which frame N was initially but defectively recorded.

In the FIG. 39 embodiment, head unit 100 must change tracks from trackgroup TG39 to track group TG39R, and then travel in the reversedirection while re-recording Frame N. After re-recording frame N, headunit 100 returns to track group TG39, thereby completing a re-recordtrack change loop indicated by broken line RTCL-W in FIG. 39.

The re-record track change loop indicated by broken line RTCL-W in FIG.39 shows that head unit 100 must continue in the reverse direction ontrack TG39R at least far enough so that, upon changing tracks back totrack TG39, frame N-1 can be read. The purpose in reading frame N-1 isin order to obtain sufficient synchronizing information (e.g., physicalframe number of frame N-1) so that head unit 100 will know where torecord frame N+1 relative to the hard sectored frames of tape 32. On theother hand, when tape 32 is being being read and frame N is detected asbeing defective, head unit 100 travels the re-record track change loopindicated by broken line RTCL-R in FIG. 39.

There may be more than one track or logical track which can potentiallyserve as a reserved location. FIG. 40 shows tape 32 having a pluralityof logical tracks TGRT, TGRM, and TGRB serving as reserved locations forthe re-recording of frames. Logical track TGRT is preferably near thetop horizontal of tape 32; logical track TGRM is preferably near thevertical middle of tape 32; and logical track TGRB is preferably nearthe bottom horizontal edge of tape 32. Thus, logical tracks TGRT, TGRM,and TGRB are at predetermined vertical positions of tape 32.

In the embodiment of FIG. 39, of the plurality of logical tracks servingas reserved locations, it is preferable to have some of the logicaltracks being those written in a forward direction of tape movement andothers of the logical tracks written in a reverse direction of tapemovement. For example, for the logical tracks TGRT, TGRM, and TGRB shownin FIG. 40, there could be two logical tracks at the top, one being aforward direction logical track and the other being a reverse directionlogical track; two logical tracks at the middle, one being a forwarddirection 2logical track and the other being a reverse direction logicaltrack; and so forth.

FIG. 40A shows an embodiment in which served track TG39A is abidirectional track. Track TG39A is segmented into directional framegroups. For example, bidirectional frame group BFGq is a forwarddirection frame group into which re-recorded frames can only be recordedwhen tape 32 is transported in a forward direction. Bidirectional framegroup BFGq-1, on the other hand, is a reverse direction frame group intowhich re-recorded frames can only be recorded when tape 32 istransported in a reverse direction.

The operation for FIG. 40A differs from that of FIG. 39 in that, upontrack change, the write head may find itself in a directional framegroup having a direction opposite than that necessary for performing are-record track change loop RTCL. For example, upon changing track aftera first (defective) recording of Fame N on track TG40, head unit 100finds itself in forward direction frame group BFGQ on track TG40A. Headunit 100 must then travel in the reverse direction for a sufficientdistance to an available hard-sectored frame which can be recorded inthe reverse direction, as shown in FIG. 40A. Upon re-recording of FrameN as shown in FIG. 40A, head unit 100 can change tracks back to trackTG40. On track TG40 head unit 100 continues to travel in the forwarddirection looking for the first available frame in which the next framefrom the buffer can be recorded.

Thus, the re-record track change loop RTCL is potentially larger in theembodiment of FIG. 40A than that of FIG. 39. The greater loop sizeresults from the fact that head unit 100 may have to move a furtherdistance along the reserved track in order not only to reach a vacantframe space, but also a frame space of appropriate directionality.

The embodiment of FIG. 40A, although having potential larger re-recordtrack change loops, shows an advantage in that only one reserved track(e.g., logical track) need be provided on tape 32. In contrast to FIG.40 wherein a plurality of tracks are utilized for re-recording and forhaving reserved locations, the single bidirectional reserved track ofFIG. 40A advantageously reduces the tape space requirements forre-recording of defective frames.

It should be understood that, in the embodiments of FIG. 39 and FIG.40A, for example, that the tracks having reserved locations need notnecessarily be solely dedicated to reserved frame locations. Forexample, only a portion of such a track may be allocated for reservedlocations, while another portion may be utilized for original recordingof frames. The allocations of such tracks, whether solely devoted orpartially devoted to reserved locations, is discernible from the defectmap 346 (see FIG. 19). For example, in connection with the embodiment ofFIG. 40A, head unit 100 is moved an appropriate distance in the reversedirection for the re-recording of Frame N in accordance withforeknowledge of track FG40A afforded, e.g., by defect map 346.

When the target frame is determined to be defective in a recording orediting mode, the steps of FIG. 39A are implemented. At step 39A-1, thedefect map frame 346 (see FIG. 19) is consulted to determine anavailable logical track, preferably the nearest logical track in theappropriate direction, in the reserved area (i.e., a reserved locationwith space to write the target frame). In this regard, the knownphysical frame location and track of the target frame is compared withthe values stored in defect map frame 346. Then, as shown by step 39A-2,the head unit 100 is moved vertically by positioner motor 144 to thevertical position of the logical track which is dedicated to there-recording of frames. As shown in FIG. 39, the spare or reservedlogical track TG31R is preferably a logical track in which frames arerecorded in a direction which is the reverse of the direction ofrecording of frames on logical track TG31. At step 39A-3, the contentsof the target frame are re-recorded at the spare physical frame locationon the spare logical track i.e., at the spare physical frame locationthat was determined from the defect map frame 346. As mentioned above,the re-recording preferably occurs with the tape being transported in adirection which is the opposite of the direction in which the tape moveswhen recording on logical track TG31. This is advantageously fastersince it requires fewer tape stops and starts. Then, as shown by step39A-4, a memory copy of the defect map frame 346 is updated. Inparticular, at step 39A-4, an entry in Table 23 is made for thedefective frame, the first four bytes of the entry being the physicalframe number of the defective frame and the second four bytes of theentry being the physical frame number at which the frame contents werere-recorded. Thus, the updated defect map frame 346 both indicates thatthe target frame's original area on tape is bad, and provides a pointerdesignating a new location for the target frame. Lastly, as shown bystep 39A-5, the head unit is returned to logical track TG31 for therecording of subsequent frames on logical track TG31. At the end of arecording session, the actual defect map frame 346 is updated on tape 32based on the updated memory copy of defect map.

The procedure for reconstructing a file containing a spared frame in aread operation according to the submode of FIG. 39 is shown in FIG. 39B.At step 39B-1, the drive locates all spared frames by consulting defectmap frame 346. Step 39B-2 shows the device reading up to a defectiveframe. At step 39B-3, pointers are extracted from defect map frame 346in order to obtain the new location of the spared frame, i.e., thephysical frame number which is the reserved location whereat thecontents of the defective frame are re-recorded. Step 39B-4 shows thehead unit being moved to the dedicated spare track TG31R and to thelocation to read the re-recorded frame which replaces the defectiveframe. At step 39B-5 the re-recorded frame is read and its contentsplaced in buffer memory 116. Then, as shown by step 39B-6, the head unitis returned to logical track TG31 and the tape advanced in the forwarddirection for the reading of subsequent frames.

The submode of FIG. 39, with the recording steps shown in FIG. 39A andthe reading steps shown in FIG. 39B, has the advantage of potentiallykeeping data contiguous while not affecting the sustained rate until adefective frame is encountered. In addition, the submode of FIG. 39 doesnot place impose memory management requirements (e.g., holdingintermediate frames in buffer memory 116 until the re-recorded frame isread).

Described above are method and apparatus for re-recording of a framemagnetic tape 32 when a first recording of the frame is determined to bedefective. A frame whose first recording is defective is re-recorded ata spare or reserved location on the tape. The reserved location isdedicated to re-recording of frames, and otherwise cannot have datastored therein. The tape contains a defect map frame 346 which is usedto pair physical locations of defective frames with the reservedlocation whereat the frame is re-recorded.

In the embodiment of FIG. 38, the reserved location whereat a frame isre-recorded is a reserved physical frame on the same track in which thedefective frame is recorded. In fact, a plurality of reserved locationsis provided on the same track with user data frames and are interspersedamong physical frame locations of the user data frames track.Consecutive ones of the plurality of reserved locations on the sametrack are separated by a predetermined number of physical framelocations.

In the embodiment of FIG. 39, the reserved location is on a reservedtrack which is not the original track upon which the frame is recorded.Preferably the original track is recorded/read when relative movementbetween the head unit and the tape is in a first direction and thereserved track is recorded/read when relative movement between the headunit and the tape is in a direction which is opposite the firstdirection. In a related embodiment, there are a plurality of reservedtracks which are spaced at predetermined vertical positions of the tape.

For embodiments having multi-channel or multi-track frames, the reservedlocation employs a corresponding plurality of tracks.

In a method of recording on a magnetic tape is a recording mode whichhas a read-while-write (RWW) capability, after a frame is recorded it isread back to determine whether the frame is readable or accuratelyrecorded. If the frame is defective, the contents of the frame arere-recorded at the reserved location. Further, a defect memory map isupdated with a pairing of the first physical frame location of thedefect with the reserved location at which the re-recording occurred. Ata later time the memory copy of the defect map 346 is written to thecontrol partition.

In a method of reading a magnetic tape having frames re-recorded tospare or reserved locations, the contents of the defect map frame isfirst acquired from the tape. The defect map having a pairing of frameoriginal physical locations on the tape with frame re-recording physicallocations for frames which are unreadable or erroneously recorded intheir frame original physical locations. During the reading operation,frames are read from corresponding frame original physical locations onthe tape. When an original physical location is encountered on the tapefor which there is a pairing in the defect map, the defect map frame isconsulted to discover the reserved location at which the frame contentsare re-recorded so that the frame contents may be obtained from thereserved location. If the original physical location proves to bereadable despite the indication in the defect map, the original physicallocation may be read wiithout having to go to the reserved location.

Also provided is a hard sectored magnetic tape storage medium on whichinformation is stored on a plurality of horizontally extending tracks.Each track has a plurality of frames, at least one of the framesincluding a defect map. The defect map has a pairing of frame originalphysical locations on the tape with frame re-recording physicallocations for frames which are unreadable or erroneously recorded intheir frame original physical locations. The frame re-recordinglocations are in a reserved portion of the tape. The tape can haveeither one or more tracks reserved for frame re-recording physicallocations, or have frame re-recording physical locations areinterspersed among frame original physical locations on the tape.

7.6 Recording and Use of Buried Servo Signal 7.6.1 Encoding of BuriedServo Signal in Data Region

As previously explained in §2.1 and with reference to FIG. 7 and FIG. 9,a buried servo or tracking sense (TS) signal is recorded on tape 32. Onsome of the physical tracks of a logical track the servo signal servesas a servo position signal TS_(p) in order to assure that head unit 100is correctly vertically aligned to follow the horizontal physicaltracks. On at least one of the physical tracks of a logical track theservo signal serves as a servo clock signal TS_(C). The servo clocksignal TS_(c) is detected by servo clock recovery circuit 174 (see FIG.2).

As previously explained in connection with FIG. 10, servo clock signalTS_(c) has sets of cycles. In the example of tape 32, there are thirtysix cycles per set. Moreover, on tape 32 each set of cycles serves todelineate a frame 220. In the illustrated embodiment, all but one of thecycles of the servo clock signal TS_(c) is symmetrical. Preferably theasymmetrical cycle of the servo clock signal TS_(c) is either the firstcycle with its intermediate transition x₀ or the last such cycle withits transition x₃₅. FIG. 10 particularly shows a situation in which thefirst cycle is asymmetrical. Having an asymmetrical transition in atleast one of its cycles is an example of servo clock signal TS_(c) beingmodulated for a frame.

The modulation of servo clock signal TS_(c), described in §2.1, can beutilized to provide information about tape 32. Such information includesan indication of relative horizontal position on tape 32 and buriedheader information which is indicative of one or more characteristics oftape 32. In the illustrated embodiment, the modulation of servo clocksignal TS_(c) provides each set (e.g., frame) with a modulation value.In the ensuing discussion, reference is made to a frame as being oneexample of a "set" of cycles. However, it should be understood that theburied servo encoding techniques described herein are not limited inapplication to frames, but that the sets of cycles can be otherwisecomposed or constituted (e.g., for example having numbers of cyclesaccording to other criteria).

Concerning modulation, if, in a given frame, the selected cycle of servosignal TS_(c) is modulated so that its asymmetrical intermediate zerocrossing occurs before (e.g., earlier in time than) the expectedsymmetrical intermediate zero crossing, the frame in which the modulatedcycle occurs is said to have a "0" modulation value. On the other hand,if the selected cycle of servo signal TS_(c) for a frame is modulated sothat its asymmetrical intermediate zero crossing occurs after (e.g.,later in time than) the expected period zero crossing, the frame is saidto have a "1" modulation value for the frame. It should be understoodthat other modulation value assignment conventions can apply to otherembodiments (e.g, the inverse of that illustrated). Moreover, it shouldbe understood that the above described modulations are reversed if thetape direction is reversed.

By assigning a modulation value to each frame in the foregoing manner, aplurality of consecutive frames can be grouped together into a framegroup FG, with the modulation values of the constituent frames of theframe groups collectively forming a frame group identifier. FIG. 41shows just two frame groups of a plurality of frame groups provided ontape 32, in particular frame groups FG19 and FG20. Each frame group FGis composed of twenty frames. That is, frame group FG19 is composed offrames f_(n) through f_(n+19) ; frame group FG20 is composed of framef_(n+20) through frame f_(n+39).

Each frame group is further divided into frame subgroups. Apredetermined number N of frames consecutive constitutes a framesubgroup, N being four in the illustrated embodiment. For example,frames f_(n) through f_(n+3) constitute a first frame subgroup of framegroup FG19; frames f_(n+4) through f_(n+8) constitute a second framesubgroup of frame group FG19, and so forth.

The first frame subgroup of a frame is known as a synchronizationsubgroup. For example, frames f_(n) through f_(n+3) constitute asynchronization subgroup for frame group FG19; frames f_(n+20) throughf_(n+23) constitute a synchronization subgroup for frame group FG20. Asdiscussed in more detail hereinafter, in synchronization subgroups themodulation values compose a predetermined synchronization pattern whichdoes not occur in consecutive frames not residing in synchronizationsubgroups. Therefore, the synchronization subgroups serve to delimitframe groups from one another. For example, the synchronization subgroupconstituted by frames f_(n+20) through f_(n+23) indicates that framegroup FG19 has terminated and that another frame group begins (e.g.,frame group FG20).

For each frame in FIG. 41 there is shown only the modulation value forthe frame. The modulation values of each frame subgroup comprise apredetermined number M of digits of the group frame identifier for thegroup frame. While it is possible for there to be a one-to-onerelationship between the number of frames N in a frame subgroup and thenumber of digits M, in the illustrated embodiment there is a 4:3relationship between N and M. Table 29 sets forth the codingrelationships between the N modulation values of a frame subgroup andthe M-digit value of a portion the frame identifier.

In the above regard, it will be remembered that the first frame subgroupof frame group FG19 is a synchronization subgroup. In the illustratedembodiment, all synchronization subgroups have the modulation values1,1,1,0. The synchronization subgroup is so formed that the modulationvalues thereof yield a pattern 111--three consecutive ones--which is notpresent in modulation values of consecutive frames ofnon-synchronization subgroups.

It can be seen from FIG. 41 for frame group FG19 that the second framesubgroup has modulation values 0,0,0,0; that the third frame subgrouphas modulation values 0,0,0,0; that the fourth frame subgroup hasmodulation values 0,0,1,0; and that the fifth frame subgroup hasmodulation values 0,1,0,0.

Now with reference to Table 29, it can be seen that the frame groupidentifier for frame group FG19 is the twelve binary digit value000000010011. From Table 35, the modulation values (0,0,0,0) of thesecond frame subgroup yield the first three digits 000; the modulationvalues (0,0,0,0) of the third frame subgroup yield the next three digits000; the modulation values (0,0,1,0) of the fourth frame subgroup yieldthe next four digits 010; and the modulation values (0,1,0,0) of thefifth frame subgroup yield the last three digits 011. Thus, withreference to Table 29, the value of the frame group identifier for frameFG19 is, appropriately enough, nineteen. Similarly it can be seen thatthe value of the group frame identifier for frame group FG20 is twenty.

It is to be noted that no sequence of the values in Table 29 yield thesynchronization pattern 1110. Thus, the synchronization pattern isdistinguishable from modulation values that are used to form the framegroup identifier. In other words, the synchronization pattern is chosensuch that the synchronization pattern does not appear in any potentialgroup identifier value.

FIG. 41 provides an example in which there is a 4:3 relationship betweenthe number of frame N in a frame subgroup and the number M of framegroup identifier digits obtained therefrom. In other embodiments otherrelationships between N and M are envisioned, for example 5:4.

Referring to FIG. 2, servo signal TS_(c) is applied from head unit 100to servo clock recovery circuit 174. Servo clock recovery circuit 174detects the low frequency buried servo signal, so that waveform valuessuch as that shown in FIG. 10 are transmitted to clock modulationdetector 180. Servo clock recovery circuit 174 analyzes the receivedwaveforms and provides control processor 130 with an interrupt on line179 at the beginning of each cycle of servo signal TS_(c) (e.g., at eachpositive-going zero crossing transition). Clock modulation detector 180generates an interrupt on line 181 at each intermediate transition(e.g., at each negative-going zero crossing transition). The interruptson lines 179 and 181 are applied to tape location detector 135 ofprocessor 130. Tape location detector 135 of processor 130 uses theseinterrupts to form sets or frames of cycles, to detect the modulationvalue of each frame by determining the timing of the intermediate zerocrossing of the selected cycle of the frame; to identify thesynchronization pattern e.g., for forming groups of frames; and, todetermine the group identifier for each group.

In embodiments which utilize coding relationships such as that shown inTable 29, it should be realized that conversions can be performed bytape location detector 135 with, e.g., resort to a look up table havingthe paired values of the appropriate conversions stored therein (e.g,the values of Table 29, for example).

The buried encoding scheme of servo signal TS_(c) of the presentinvention provides an efficient way for a device such as a tape drive todetermine its position relative to tape 32. For example, suppose headunit 100 were located to read frame f_(n+5) of tape 32 as shown in FIG.41. Head unit 100 need to read only from frames f_(n+5) through andincluding f_(n+27) in order to determine its location on tape 32. Uponreaching frames f_(n+23), tape location detector 135 will conclude thatit has just read a synchronization subgroup, and therefore will concludethat the fifteen modulation values obtained prior to the synchronizationsubgroup constitute the fifteen lower order modulation values which canbe used to decode the frame group identifier. By continuing to readframes f_(n+24) through f_(n+27), tape location detector acquires thefour highest order modulation values. At this point, the entire framesecond subgroup (e.g, frames f_(n+24) through f_(n+27)) has beenacquired. Thereafter, tape location detector 135 can decode the framegroup identifier. Thus, in the worst case scenario just discussed, headunit 100 need read no more than twenty three modulation values in orderto determine its horizontal location on tape 32, e.g., about 1.5 feet oftape movement.

Thus, the horizontal position on tape 32 is determined by tape locationdetector 135 as described above with reference to frame identifiers. Thevertical location of head unit 100 on tape is known by control processor130 in view of its connection to positioner motor driver 158, whichcontrols the vertical positioner motor 144 for head unit 100.

In the illustrated embodiment of FIG. 41 in which twenty frame areprovided per frame group, with each frame group having a twelve binarydigit (e.g, bit) identifier, 4096 frame group identifiers are possibleper tape. With each fame group requiring about fifteen inches of tape,the scheme of FIG. 41 provides frame identifiers for over fourty-eighthundred feet of tape.

It should be understood that variations of the illustrated embodimentsare also envisioned. For example, the synchronization frames can berecorded at a position other than at the beginning of a frame group,such as at the end of a frame group. Moreover, it is envisioned thatframes can, in other embodiments, be modulated to have more than oneasymmetrical zero crossing, thereby affording two modulation values perframe. Further, although the coding scheme of Table 29 is particularlyadvantageous for affording an Hamming distance of two or greater betweenadjacent frame groups (i.e., any two frame groups next to each otherwill differ by at least two positions in their code), other modulationcoding schemes can be employed.

7.6.2 Encoding of Buried Servo Signal in Non-Data Regions

FIG. 6 shows non-data regions of tape 32 as including hub wrap leadregion NML 200, beginning of tape lead-in zone 202; scratch area 204;buried header region 206; pad region 208; start of track marker 210; endof track marker 214; end of tape lead-out zone 216; and hub wrap leadregion NML 218. Some of these areas/regions have buried servo signalrecorded thereon; others do not.

The hub wrap lead regions NML 200, 218 are as short as possible giventape loader constraints and have no buried servo signal recordedthereon. Hub wrap lead regions NML 200, 218 are preferably about twofeet at each end of tape 32.

Beginning of tape lead-in zone 202 has buried servo, with the buriedservo signal being modulated in the following manner:1X1X1X1X1X1X1X1X1X1X . . . (X being an unmodulated cycle). The length ofthe beginning of tape lead-in zone 202 is about five feet. The end oftrack marker 214, also about five feet in length, has the buried servosignal modulated in the following manner: 1X0X1X0X1X0X . . . .

Scratch areas 204 and 216 have the buried servo recorded thereon, butthe buried servo signal is not modulated in these areas.

Buried header region 206 is about ten inches in length, and has theburied servo signal modulated as discussed below.

Pad region 208 is about two feet in length and has about 1222 cycles ofthe buried servo signal TS recorded thereon. Pad region 208 is asuggested parking zone for tape 32 at rewind and eject. Modulation ofburied servo signal TS in pad region 208 is 11111000001111100000 . . . .

Start of track marker 210 and end of track marker 214 are eachapproximately 0.63 inches and have about 32 cycles of buried servosignal. Start of track marker 210 is modulated with the followingpattern: 00111110000011110000111000110010XX. End of track marker 214 ismodulated with the following pattern:XX01001100011100001111000001111100. Padding markers 210 and 214 tothirty two bits makes the pattern fill a double word register infirmware.

Upon insertion of a cartridge 30 into a device, it is recommended thattape 32 be wound forward until the buried servo signal TS can be decodedfor a few cycles (a minimum number of feet). If tape 32 is not atbeginning of tape area 202, tape 32 should be rewound until beginning oftape area 202 is found. Then tape 32 is wound forward to read buriedheader region 206. An attempt is made to lock on track twelve. Thenconfiguration frames of tape 32 are read. Next tape 32 is rewound to padarea 208.

7.6.2.1 Buried Header Region

Buried header region 206, shown context of tape 32 in FIG. 6, is seen inmore detail in FIG. 44. FIG. 44 shows buried header region 206 hascomprising fields 206(1) through 206(7). These fields include startmarker field 206(1); number of frames per track field 206(2); cartridgecode field 206(3); cartridge manufacturer field 206(4); cartridge serialnumber field 206(5); system parameter field 206(6); and reserved field206(7).

Bytes in the buried header are delimited by a "1X0". That is, the buriedheader as a sequence of 1X0, first byte, 1X0, second byte, 1X0, thirdbyte, etc. Start marker field 206(1) has eight bits. In start markerfield 206(1), buried servo signal TS has the pattern 11111111 toindicate the start of the buried header.

The number of frames per track field 206(2) has sixteen bits. The numberof physical data frames per track is approximately seventeen thousandfor a standard EX cartridge.

The cartridge code field 206(3) has sixteen bits. Cartridge code field206(3) has a value of zero for a minicartridge; a value of one for an EXcartridge; with other cartridge code values being reserved.

Cartridge manufacturer field 206(4) has sixteen bits, and is of a valueassigned to the manufacturer. Cartridge serial number field 206(5) isforty eight bits, and is a unique number assigned to the cartridge atmanufacturing time.

System parameter field 206(6) has four bytes. The first of these bytesindicates the number of channels per track group (eight in theillustrated embodiment see FIG. 4 and FIG. 5!). The second byte is thenumber of track groups per band. The third byte is the number of bandson tape 32. The fourth byte is reserved.

7.6.2.1 Pre-recording of Buried Servo Signal

The invention thus covers not only the use of the modulated buried servosignal TS as above described, but also tape 32 upon which the buriedservo signal TS is modulated in accordance with the foregoing andmethods for modulating the buried servo signal TS. Apparatus formodulating the buried servo signal TS is shown in FIG. 42 and FIG. 43.FIG. 42 shows tape 32 being transported between supply reel 400 andtake-up reel 402, both reels 400 and 402 being driven for transport oftape 32. As tape 32 is transported tape 32 comes into proximity withservo signal write head 404. Servo signal write head 404 has a centralmagnetic pole 410 and lateral poles 412, 414. Central pole 410 iscoextensive along the width of the tape with all physical tracks of thetape (see FIG. 43). In adjacent physical positions, lateral poles 412,414 alternate in position about central pole 410. Magnetic recordinggaps 420 extend between each lateral pole 412, 414 and central pole 410.A magnetic coil 430 extends through the gaps 20 in the manner shown inFIG. 42 and FIG. 43. Coil 430 is connected to write current generator440 (see FIG. 42). Write current generator 440 applies a write currentto coil 430. The write current applied by write current generator 440produces the servo signal TS on each physical track in the manner shownin FIG. 43. Moreover, write current generator 440 is governed bymodulation controller 450. Modulation controller 450 supervisesmodulation of the selected cycles of the servo clock signal TS_(C). Themodulation of the selected cycles is understood in accordance with theforegoing. Based on the modulation and encoding scheme, (e.g., 4:3encoding) above discussed, the selected cycles are modulated tocontribute either a synchronization value or an appropriate modulationvalue to its frame subgroup, whereby an appropriate group identifier isprepared for the logical track frame to which the frame belongs.

While the invention has been particularly shown and described withreference to the preferred embodiments thereof, it will be understood bythose skilled in the art that various alterations in form and detail maybe made therein without departing from the spirit and scope of theinvention.

APPENDIX I Definitions

Appendable Point: An appendable point is where a write operation isallowed to begin.

A/V: Audio/Video refers to devices, data or operations that are designedto accommodate the requirements of audio and video recording andplayback.

AUX Data: The AUX Data is a 512 byte control field associated with each32 KB tape frame.

BOLG: BOLG indicates the Beginning of a Logical Group. The BOLG isdefined in the DAT Entry.

BOP: The Beginning of Partition, which is used to signal the first tapeframe in a partition.

BOPT Marker: The BOPT marker is the Beginning of Partition Track, whichis used to signal the vertical boundary of a partition closest to thetake-up reel on the tape.

BOT: The Beginning of Tape, which is the take-up reel end of the tape.

CEW: The Corner Early Warning, which is concept used to signal that theend of a track within a partition is approaching. This signal allows thedevice or system to prepare for track cornering operations throughcaching and buffering of data.

Configuration Frames: The Configuration Frames are reserved non-userdata frames that are used for configuration and directory information.The Configuration Frames are located in the Configuration Partition,which is the first partition located at BOT.

Configuration Partition: The Configuration Partition is the firstvertical partition located on tape from BOT. The Configuration Partitioncontains the Configuration Frames. The Configuration Partition iscomposed of five (5) frames horizontally and twenty-four (24) logicaltracks vertically. The Configuration Partition has a partition number ofFFh (-1).

Defect Map: The Defect Map is a configuration frame that contains a listof physical locations on tape that have exhibited data integrityproblems.

ECC: ECC represents an Error Correction Code that is used for correctingrecoverable data.

EOD: The End of Data, which is used to mark the end of the valid dataarea for a partition in a streaming tape application.

EOLG: EOLG indicates the End of a Logical Group. The EOLG is defined inthe DAT Entry.

EOP: The End of Partition, which is the last tape frame of a partition.

EOPT Marker: The EOPT marker is the End of Partition Track, which isused to signal the vertical boundary of a partition closest to supplyreel on the tape.

EOT: The End of Tape, which is the supply reel end of the tape.

Filemark: A virtual point within the sequence of data blocks placed bythe host to aid navigation. A read operation will terminate uponreaching a Filemark. Each Filemark is assigned a unique logical blockaddress.

ID Frame: The Identify (ID) Frame is a Configuration frame used tocontain basic information about the nature of the volume. The ID frameincludes information on the origin of the format, the location of otherConfiguration frames and the partitioning of the data area.

Kbytes (KB): This Standard defines 1 KB to be equal to 1024 bytes.

Logical Block: A Logical Block is a group of data bytes that the hostapplication specifies.

LEW: The Logical Early Warning, which is used to signal that the end ofrecordable area is approaching. This signal allows the device to preparefor partition full operations through buffer flushes.

Logical Element: A Logical Element represents an entity on tape thatpossess a unique logical block address. This specification supportsthree types of logical elements, data blocks, filemarks, and setmarks.

Logical Group: A logical group is the sequential grouping of logicalelements that possess the same attributes with no format discontinuitieswithin the group.

Logical Track: A group of physical tracks recorded or readsimultaneously through a multi-channel head forming a single logicalentity.

Magnetic Tape Cartridge: A cartridge containing magnetic tape wound ontwo coplanar hubs with an internal drive belt to transport the tapebetween the hubs, the two hubs form a supply reel and a take-up reel forthe tape.

MPDR: Multi-Purpose Data Recorder.

Partition: A sequence of logical data blocks with logical addressesstarting from zero. All tapes have a minimum of two partitions labeledpartition -1 and partition 0. Partition 0 may be further subdivided intoadditional partitions.

Partition -1: Partition -1 (FFh) is the Configuration Partition.

Program: A set of data identified as a sequential contiguous data streamof A/V data.

RWW (Read-While-Write). A hardware architecture involving a double bumphead, where the lead bump writes data to tape and the following bumpperforms a read/verify operation.

Reserved (res): Reserved fields are to be written with zeros and ignoredby firmware to facilitate future enhancements.

Setmark: A virtual point within the sequence of data blocks placed bythe host to aid navigation. A read operation will terminate uponreaching a Setmark. Each Setmark is assigned a unique logical blockaddress.

Streaming: A method of recording on magnetic tape that maintainscontinuous tape motion without the requirement to start and stop.

Tape Frame: A complete data entity consisting of 32 KB of user availabledata combined with ECC data and control fields. Each tape frame shares aone-to-one correspondence with a particular physical location on tapeand is synchronized to the buried servo. Depending on the device model,the tape frame may or may not have a linear correlation with the host'slogical blocks.

TOC: The Table of Contents (TOC) is a simplified directory structurepointing to the beginning and ending of audio and video programs. Thisis the primary navigation tool used in A/V recorder/player.

Track: A longitudinal area on tape along which magnetic signals areserially recorded. Each track is marked by a buried servo signal, andpositioned between BOT and EOT.

Track Table: A table that contains position information relating logicalblock numbers to physical partition track boundaries. The track table isused primarily in the streaming tape application to assist in rapidseeking to logical locations on tape.

Undefined: Undefined fields may contain any value. The contents of anundefined field are not considered to have any meaning. These may befields which are inactive in a certain mode or are reserved for futureenhancements, but which are not required to be zero filled.

Underrun: A condition developed when the application transmits data at arate less than required for streaming.

Volume: A complete unit consisting of the recording medium (the magnetictape) and its physical carrier (the cartridge). A volume has thecharacteristic of be mounted or demounted. In the mounted state thevolume is in a logical and physical state such that the tape drivemechanism can execute commands from the host to move the tape. When thevolume is in an demounted state either the physical or logicalconditions prevent the host from executing commands for tape motion.

APPENDIX II Byte and Code Requirements

Byte: A group of 8 data bits operated on as a unit.

Byte Length. The data is in eight-bit bytes. The 8 bits in each byte arenumbered b0 to b7, b7 being the most significant bit.

Byte Order. Little endian ordering is used for variables larger than onebyte, all efforts are be made to ensure that independent variables areplaced on even address boundaries (word length).

Text Code. Bits b0 to b6 correspond to the 7 least significant bitassignments specified in the American National Standard Code forInformation Interchange (ASCII), ANSI X3.4 - 1986. To comply with thisStandard, bit 7 shall always be set to Zero and the seven bits b0through b6 shall represent ASCII characters.

Radix. All numbers are decimal, base 10, unless followed by an `h`suffix that indicates hexadecimal, base 16.

Word: A group of 16 data bits operated on as a unit.

Word Length. The data shall be in sixteen-bit words. The 16 bits in eachword are numbered b0 to b15, b15 being the most significant bit.

Double-Word Length. The data shall be in thirty-two-bit double-words.The 32 bits in each byte are numbered b0 to b31, b31 being the mostsignificant bit.

Signed Numbers: Negative numbers are represented by the 2's complement.

                  TABLE 1    ______________________________________    AUX Data Structure    Position           Bytes   Usage        A/V   Streamer                                             R/A    ______________________________________    0-1     2      Frame Type   M     M      M    2-7     6      reserved     8-11   4      Tape Frame Address                                M     M      M    12-25  14      reserved    26-27   2      Write Pass Counter M    28-31   4      Filemark Count     M    32-35   4      Setmark Count      M    36-39   4      Frame Sequence     M                   Number    40-47   8      Logical Frame                                O     M      M                   Address     48-307           260     Data Access Table                                O     M      M                   (DAT)    308-333           26      reserved    334-335            2      Partition Control                                M      O*     O*                   Flags    336-367           32      Partition    M     M      M                   Description    368-431           64      A/V Program  M      O*     O*                   Description    432-511           80      reserved    ______________________________________

                  TABLE 2    ______________________________________    Frame Type Field    byte\    bit   7      6      5     4    3     2     1    0    ______________________________________    0     A/V    Data   TrkTbl                              Ident                                   Marker                                         DefMap                                               TOC  EOD    1     res    res    uCode res  res   res   res  res    ______________________________________

                  TABLE 3    ______________________________________    Frame Type Values    Frame Type       Byte 0 Value                               Byte 1 Value    ______________________________________    Filler Frame     0x00      0x00    Micro-code Frame 0x00      0x20    EOD Frame        0x01      0x00    Defect Map Frame 0x04      0x00    Marker Frame     0x08      0x00    Identify Frame   0x10      0x00    Track Table Frame                     0x20      0x00    Data Frame       0x40      0x00    Partition Boundary Frame                     0xA0      0x00    TOC Frame        0xA2      0x00    A/V Data Frame   0xC0      0x00    ______________________________________

                  TABLE 4    ______________________________________    Tape Frame Address            MSB  LSB    ______________________________________            y    x    ______________________________________

                  TABLE 5    ______________________________________    Tape Frame Address Byte Locations in AUX Data    AUX Byte Position                     Usage    ______________________________________     8               `x` LSB     9               `x` Middle    10               `x` MSB    11               `y`    ______________________________________

                  TABLE 6    ______________________________________    Logical Group Attribute Discontinuities    Previous DAT Entry                      Next DAT Entry    ______________________________________    Data blocks of a given logical block                      Data blocks of a different logical    size              block size    A group of like data blocks that will                      A data block that will span into the    all fit in the current frame                      next frame    A data block which has spanned from                      A group of like data blocks that    the previous frame                      will all fit in the current frame    A data block which has spanned from                      A data block that will span into the    the previous frame                      next frame    Uncompressed data Compressed data    Compressed data   Uncompressed data    Filemark(s)       Setmark(s)    Setmark(s)        Filemark(s)    ______________________________________

                  TABLE 7    ______________________________________    DAT Structure    Byte       Description    ______________________________________    0          DAT Entry Size (8)    1          reserved    2          Number of DAT Entries (n)    3          reserved    4-259      (n) DAT Entries    ______________________________________

                  TABLE 8    ______________________________________    DAT Entry Structure    Byte       Description    ______________________________________    0-3        Logical Block Size    4-5        Number of Logical Elements    6          DAT Entry Flags    7          reserved    ______________________________________

                  TABLE 9    ______________________________________    DAT Entry Flags    Bits    7       6      5   4   3     2     1   0    ______________________________________    Description            EXT     CMP    CID   BOLG  EOLG  res MARK    ______________________________________

                  TABLE 10    ______________________________________    Frame Spanning Control Flag Definitions    BOLG  EOLG    DESCRIPTION    ______________________________________    1     1       The entire logical group is contained within this frame.                  For this frame the DAT entry for the Logical Block                  Size specifies the number of bytes for one logical                  element.    0     0       Only a portion or mid part of the logical group is                  contained within this frame. The beginning of this                  logical group is contained in a frame on the BOP side.                  The end of this logical group is contained in a frame                  on the EOP side. The DAT entry for the Logical Block                  Size for this frame specifies only the number of bytes                  that are represented in this frame.    0     1       Only the end of the logical group is contained within                  this frame. The beginning and mid portions of this                  logical group are contained in a frame(s) on the BOP                  side. The DAT entry for the Logical Block Size for                  this frame specifies only the number of bytes that are                  represented in this frame.    1     0       Only the beginning of the logical group is contained                  within this frame. The end and mid portions of this                  logical group are contained in a frame(s) on the EOP                  side. The DAT entry for the Logical Block Size for                  this frame specifies only the number of bytes that are                  represented in this frame.    ______________________________________

                  TABLE 11    ______________________________________    Partition Control Field    byte\bit            0     1        2   3      4   5    6   7    ______________________________________    0       res   BOPT     res EOPT   res res  res res    1       CEW    ______________________________________

                  TABLE 2    ______________________________________    A/V Program Description Structure    byte     Description    ______________________________________    0-1      Program Entry Number    2-3      reserved    4-7      Tape Frame Address Start     8-11    Tape Frame Address End (0)    12-13    Multi-media Source    14-15    reserved    16-47    Program Name/Credits (ASCII text string)    48-49    Program Date/Year (0000-9999)    50       Program Date/Month (00-12)    51       Program Date/Day (00-31)    52       Program Time/Hour (00-24)    53       Program Time/Minute (00-59)    54       Program Time/Second (00-59)    55       reserved    56-64    reserved for Running Time    ______________________________________

                  TABLE 13    ______________________________________    Multi-media Source Field    byte\bit          0       1       2   3   4   5    6     7    ______________________________________    0     CP      SCPY    res res res res  VIDEO AUDIO    1     FUNK    res     res res res TSTP MPEG  NOCMP    2     res     res     res res res res  res   res    3     Revision    ______________________________________

                  TABLE 14    ______________________________________    Copy Protection Support Field    CP        SCPY    description    ______________________________________    0         0       unlimited copies are authorized    0         1       a single copy is authorized    1         1       no copies are authorized    ______________________________________

                  TABLE 15    ______________________________________    Partition Boundary Data Structure    byte    Description    ______________________________________    0       MPDR Physical Format Major Revision Level    1       MPDR Physical Format Minor Revision Level    2       MPDR Logical Format Major Revision Level    3       MPDR Logical Format Minor Revision Level    4       Partition Boundary Entry Length (16)    5       reserved    6       Number of Partitions on Tape (n)    7       reserved    n       Partition Boundary Entries    ______________________________________

                  TABLE 16    ______________________________________    Partition Entry Data Structure    byte      Description    ______________________________________    0         Partition Number    1         reserved    2-3       Tape Device Model    4-7       Lower Left Tape Frame Address     8-11     Upper Right Tape Frame Address    12-15     reserved    ______________________________________

                  TABLE 17    ______________________________________    Tape Device Model Field    byte\bit          0      1       2     3     4   5    6   7    ______________________________________    0     A/V    RA      STRMR res   res res  res res    1     TOC    DEF     TrkTbl                               RWW   res res  res ERASE    ______________________________________

                  TABLE 18    ______________________________________    TOC Data Structure    byte     Description    ______________________________________    0        TOC Frame Number    1        Total Number of Frames in TOC    2-3      reserved    4-5      Number of Entries in this Frame    6        TOC Entry Length (64)    7        reserved    n        TOC Entries    ______________________________________

                  TABLE 19    ______________________________________    Track Table Data Structure    byte     Description    ______________________________________    0-1      Maximum Write Pass Count    2-5      reserved    6        Number of Partitions (n)    7        Partition Entry Header Length (16)             (n) Track Table Partition Entries    ______________________________________

                  TABLE 20    ______________________________________    Partition Entry Data Structure    byte      Description    ______________________________________    0         Partition Number    1         reserved    2-3       Write Pass Counter    4-7       EOD Tape Frame Address     8-15     reserved    16-23     Last Marker Frame Address    24-27     Last Marker Frame LFA    28-29     reserved    30        Number of Tracks in Partition (m)    31        Track Entry Length (16)    m         Track Entries    ______________________________________

                  TABLE 21    ______________________________________    Track Entry    Byte       Description    ______________________________________    0-7        Next Logical Block Address     8-11      Filemark Running Count    12-15      Setmark Running Count    ______________________________________

                  TABLE 22    ______________________________________    Defect Map Data Structure    byte     Description    ______________________________________    0        Defect Map Frame Number    1        Total Number of Frames in Defect Map    2-3      reserved    4-5      Number of Entries in this Defect Map (n)    6        Defect Map Entry Length (8)    7        reserved    n        Defect Entries    ______________________________________

                  TABLE 23    ______________________________________    Defect Entry Data Structure    byte      Description    ______________________________________    0-3       Defect Tape Frame Address    4-7       Re-mapped Tape Frame Address    ______________________________________

                  TABLE 24    ______________________________________    Identify Frame Data Structure    byte       Description    ______________________________________    0-1        Tape Device Model     2-17      Manufacturer Name (ASCII text)    18-33      Model Name (ASCII text)    34-49      Model Revision (ASCII text)     50-509    reserved    510-511    Additional Identify Fields Supported     512-1023  Inquiry Data    1024-1535  Mode Sense Pages    1536-2047  Log Sense Pages    2048-2559  ATA/ATAPI Identify     2560-32768               undefined    ______________________________________

                  TABLE 25    ______________________________________    Tape Device Model Field    byte\bit           0      1       2     3    4   5    6   7    ______________________________________    0      A/V    RA      STRMR res  res res  res FMTR    1      res    res     res   res  res res  res res    ______________________________________

                  TABLE 26    ______________________________________    Additional Identify Fields Supported Field    byte\bit           7     6      5   4    3     2     1     0    ______________________________________    0      res   res    res res  ATAID LOG   MODE  INQ    1      res   res    res res  res   res   res   res    ______________________________________

                  TABLE 27    ______________________________________    Marker Frame Data Structure    byte      Description    ______________________________________    0         Partition Number    1         reserved    2-7       undefined     8-15     reserved    16-23     Previous Marker Frame Address    24-27     Previous Marker Frame LFA    28-29     reserved    30-31     undefined    ______________________________________

                  TABLE 28    ______________________________________    Tape Model Configuration Frame Support Requirements                              Track    Device  Partition                     TOC      Table  DEF    Model   Frame    Frame    Frame  Frame  ID Frame    ______________________________________    AV      Mandatory                     Mandatory                              Not    Not    Optional                              Supported                                     Supported    RA w/o  Mandatory                     Not      Not    Optional*                                            Optional    RWW              Supported                              Supported    RA with Mandatory                     Not      Not    Mandatory                                            Optional    RWW              Supported                              Supported    RA/AV w/o            Mandatory                     Mandatory                              Not    Optional*                                            Optional    RWW                       Supported    RA/AV with            Mandatory                     Mandatory                              Not    Mandatory                                            Optional    RWW                       Supported    Streaming            Mandatory                     Not      Mandatory                                     Not    Optional    Tape w/o         Supported       Supported    RWW    Streaming            Mandatory                     Not      Mandatory                                     Not    Optional    Tape with        Supported       Supported    RWW    Streaming            Mandatory                     Mandatory                              Mandatory                                     Not    Optional    Tape/AV                          Supported    w/o RWW    Streaming            Mandatory                     Mandatory                              Mandatory                                     Not    Optional    Tape/AV                          Supported    with RWW    ______________________________________

                  TABLE 29    ______________________________________    Servo Signal Modulation Codes    Group ID bits Modulated Symbols    ______________________________________    000           0000    001           010    0101          0010    011           0100    100           0001    101           0110    110           1010    111           1001    ______________________________________

The embodiments of the invention in which an exclusive property orprivilege is claimed are defined as follows:
 1. A magnetic tape drivecomprising:a transfer channel including a head which transduces databetween the drive and a tape at a transfer channel data rate; atransport for providing relative motion between the head and the tape; abuffer for containing data transferred between the transfer channel anda host, the data transferred between the transfer channel and the hostbeing one of data stored in the buffer from the host at a host data rateor data requested from the buffer by the host at the host data rate; acontroller which dynamically adjusts the transfer channel data rate inaccordance with the host data rate.
 2. The apparatus of claim 1, whereinthe transfer channel data rate is one of a recording rate for recordinga data signal on the tape and a data recovery rate for recovering thedata signal recorded on the tape.
 3. The apparatus of claim 1, whereinthe controller (1) dynamically adjusts a transport rate of the relativemotion between the head and the tape in accordance with the host rate;and (2) dynamically adjusts the transfer channel data rate in accordancewith the transport rate.
 4. The apparatus of claim 3, wherein thecontroller dynamically adjusts the transport rate of the relative motionbetween the head and the tape in accordance with a data fill level ofthe buffer.
 5. The apparatus of claim 3, wherein the controllerdynamically adjusts the transport rate of the relative motion betweenthe head and the tape by comparing the data fill level of the bufferwith a buffer normalization value, and wherein the controllerdynamically changes the buffer normalization value.
 6. The apparatus ofclaim 3, wherein the controller dynamically adjusts the transport rateof the relative motion between the head and the tape in accordance witha comparison of an actual position on tape and a desired position ontape.
 7. The apparatus of claim 6, wherein the actual position on tapeis determined from an decoding of modulation of buried servo signalsrecorded on the tape.
 8. The apparatus of claim 6, wherein the actualposition on tape is determined by ascertaining a physical location fromdata stored on and read from the tape.
 9. The apparatus of claim 3,wherein the tape has a plurality of tracks, and wherein the controlleradjusts the transport rate when the head is within a predetermineddistance of a boundary point whereat the head must change tracks. 10.The apparatus of claim 1, further comprising a timing circuit connectedto the transfer channel, wherein the head reads a signal recorded on thetape, wherein the controller uses the signal to control an input signalto the timing circuit, and wherein an output signal of the timingcircuit controls the transfer channel data rate.
 11. The apparatus ofclaim 10, wherein the signal recorded on the tape is a clocking signal.12. The apparatus of claim 10, wherein the signal recorded on the tapeis a buried signal.
 13. The apparatus of claim 10, wherein the timingcircuit comprises a variable oscillator.
 14. The apparatus of claim 13,wherein the controller uses the signal recorded on the tape and theinput signal of the variable oscillator to control the output signal ofthe variable oscillator.
 15. The apparatus of claim 14, wherein thecontroller controls the input signal of the variable oscillator so thata predetermined number of oscillations occur on the output signal of thevariable oscillator between cycles of the signal recorded on the tape.16. The apparatus of claim 1, further comprising:a timing circuitconnected to the transfer channel; a sensor which provides a transportrate signal of a rate of relative motion between the head and the tape;and wherein the controller uses the transport rate signal to control aninput signal to the timing circuit, and wherein an output signal of thetiming circuit controls the transfer channel data rate.
 17. Theapparatus of claim 1, wherein the transport rate is linear velocity ofthe relative motion between the head and the tape.
 18. A magnetic tapedrive comprising:a buffer which stores data, the data being one of dataobtained from the host at a host data rate or data requested from thebuffer by the host at the host data rate; a head which transduces databetween the buffer and a tape; a transport for providing relative motionbetween the head and the tape at a transport rate; a controller whichdynamically adjusts the transport rate in accordance with the host datarate.
 19. The apparatus of claim 18, further comprising a transferchannel including a head which transduces the data to or from the tapeat a transfer channel data rate, and wherein the controller dynamicallyadjusts the transfer channel data rate in accordance with the transportrate.
 20. The apparatus of claim 19, wherein the transfer channel datarate is one of a recording rate for recording a data signal on the tapeand a data recovery rate for recovering the data signal recorded on thetape.
 21. The apparatus of claim 19, further comprising a timing circuitconnected to the transfer channel, wherein the head reads a signalrecorded on the tape, wherein the controller uses the signal to controlan input signal to the timing circuit, and wherein an output signal ofthe timing circuit controls the transfer channel data rate.
 22. Theapparatus of claim 21, wherein the signal recorded on the tape is aclocking signal.
 23. The apparatus of claim 21, wherein the signalrecorded on the tape is a buried signal.
 24. The apparatus of claim 21,wherein the timing circuit comprises a variable oscillator.
 25. Theapparatus of claim 24, wherein the controller uses the signal recordedon the tape and the input signal of the variable oscillator to controlthe output signal of the variable oscillator.
 26. The apparatus of claim25, wherein the controller controls the input signal of the variableoscillator so that a predetermined number of oscillations occur on theoutput signal of the variable oscillator between cycles of the signalrecorded on the tape.
 27. The apparatus of claim 19, furthercomprising:a timing circuit connected to the transfer channel; a sensorwhich provides an rate signal of the rate of relative motion between thehead and the tape; and wherein the controller uses the rate signal tocontrol an input signal to the timing circuit, and wherein an outputsignal of the timing circuit controls the transfer channel data rate.28. The apparatus of claim 19, wherein the controller dynamicallyadjusts the transport rate of the relative motion between the head andthe tape in accordance with a data fill level of the buffer.
 29. Theapparatus of claim 19, wherein the controller dynamically adjusts thetransport rate of the relative motion between the head and the tape bycomparing the data fill level of the buffer with a buffer normalizationvalue, and wherein the controller dynamically changes the buffernormalization value.
 30. The apparatus of claim 19, wherein thecontroller dynamically adjusts the transport rate of the relative motionbetween the head and the tape in accordance with a comparison of anactual position on tape and a desired position on tape.
 31. Theapparatus of claim 30, wherein the actual position on tape is determinedfrom an decoding of modulation of buried servo signals recorded on thetape.
 32. The apparatus of claim 30, wherein the actual position on tapeis determined by ascertaining a physical location from data stored onand read from the tape.
 33. The apparatus of claim 19, wherein the tapehas a plurality of tracks, and wherein the controller adjusts thetransport rate when the head is within a predetermined distance of aboundary point whereat the head must change tracks.
 34. The apparatus ofclaim 18, wherein the transport rate is linear velocity of the relativemotion between the head and the tape.
 35. A method of operating amagnetic tape drive, the method comprising:transferring data between atransfer channel and a head at a transfer channel data rate; providingrelative motion between the head and the tape; transferring the databetween the transfer channel and a buffer; transferring the data betweenthe buffer and the host at a host data rate; and dynamically adjustingthe transfer channel data rate in accordance with the host data rate.36. The method of claim 35, wherein the data is obtained from the hostfor recording on the tape.
 37. The method of claim 35, wherein the datais obtained from the tape for transmission to the host.
 38. The methodof claim 35, wherein the transfer channel data rate is one of arecording rate for recording a data signal on the tape and a datarecovery rate for recovering the data signal recorded on the tape. 39.The method of claim 35, further comprising:dynamically adjusting thetransport rate of the relative motion between the head and the tape inaccordance with the host rate; and dynamically adjusts the transferchannel data rate in accordance with the transport rate.
 40. The methodof claim 39, further comprising dynamically adjusting the transport rateof the relative motion between the head and the tape in accordance witha data fill level of the buffer.
 41. The method of claim 39, furthercomprising:dynamically adjusting the transport rate of the relativemotion between the head and the tape by comparing the data fill level ofthe buffer with a buffer normalization value; and dynamically changingthe buffer normalization value.
 42. The method of claim 39, comprisingdynamically adjusting the transport rate of the relative motion betweenthe head and the tape in accordance with a comparison of an actualposition on tape and a desired position on tape.
 43. The method of claim42, wherein the actual position on tape is determined from an decodingof modulation of buried servo signals recorded on the tape.
 44. Themethod of claim 42, wherein the actual position on tape is determined byascertaining a physical location from data stored on and read from thetape.
 45. The method of claim 39, wherein the tape has a plurality oftracks, and further comprising adjusting the transport rate when thewrite head is within a predetermined distance of a boundary pointwhereat the head must change tracks.
 46. The method of claim 35, furthercomprising:reading a signal recorded on the tape; using the signal tocontrol an output signal of a timing circuit; and using the outputsignal of the timing circuit to control the transfer channel data rate.47. The method of claim 46, wherein the signal recorded on the tape is aclocking signal.
 48. The method of claim 46, wherein the signal recordedon the tape is a buried signal.
 49. The method of claim 46, wherein thetransport rate is linear velocity of the relative motion between thehead and the tape.
 50. The method of claim 46, wherein the timingcircuit comprises a variable oscillator.
 51. The method of claim 50,further comprising using the signal recorded on the tape and the outputsignal of the variable oscillator to control the input signal of thevariable oscillator.
 52. The method of claim 51, further comprisingcontrolling the input signal of the variable oscillator so that apredetermined number of oscillations occur on the output signal of thevariable oscillator between cycles of the signal recorded on the tape.53. The method of claim 35, further comprising:obtaining from a sensor atransport rate signal of the rate of relative motion between the headand the tape; using the transport rate signal to control an input signalof a timing circuit; and using an output signal of the timing circuit tocontrol the transfer channel data rate.
 54. The method of claim 53,wherein the timing circuit comprises a variable oscillator.
 55. A methodof operating a magnetic tape drive, the method comprising:transferringdata between a host and a buffer at a host data rate; providing relativemotion between the head and the tape at a transport data rate;transducing the data between the buffer and the tape; dynamicallyadjusting the transport rate in accordance with the host data rate. 56.The method of claim 55, further comprising:transducing the data to orfrom the tape at a transfer channel data rate; and dynamically adjustingthe transfer channel data rate in accordance with the transport rate.57. The method of claim 56, wherein the transfer channel data rate isone of a recording rate for recording a data signal on the tape and adata recovery rate for recovering the data signal recorded on the tape.58. The method of claim 56, further comprising:obtaining from a sensor arate signal of the rate of relative motion between the head and thetape; using the rate signal to control an input signal of a variableoscillator; and using an output signal of the variable oscillator tocontrol the transfer channel data rate.
 59. The method of claim 56,further comprising dynamically adjusting the transport rate of therelative motion between the head and the tape in accordance with a datafill level of the buffer.
 60. The method of claim 56, furthercomprising:dynamically adjusting the transport rate of the relativemotion between the head and the tape by comparing the data fill level ofthe buffer with a buffer normalization value; and dynamically changingthe buffer normalization value.
 61. The method of claim 56, comprisingdynamically adjusting the transport rate of the relative motion betweenthe head and the tape in accordance with a comparison of an actualposition on tape and a desired position on tape.
 62. The method of claim61, wherein the actual position on tape is determined from an decodingof modulation of buried servo signals recorded on the tape.
 63. Themethod of claim 61, wherein the actual position on tape is determined byascertaining a physical location from data stored on and read from thetape.
 64. The method of claim 56, wherein the tape has a plurality oftracks, and further comprising adjusting the transport rate when thewrite head is within a predetermined distance of a boundary pointwhereat the head must change tracks.
 65. The method of claim 55, furthercomprising:reading a signal recorded on the tape; using the signal tocontrol an input signal to a timing circuit; and using an output signalof the timing circuit to control the transfer channel data rate.
 66. Themethod of claim 65, wherein the signal recorded on the tape is aclocking signal.
 67. The method of claim 65, wherein the signal recordedon the tape is a buried signal.
 68. The method of claim 65, furthercomprising using the signal recorded on the tape and the output signalof the variable oscillator to input the output signal of the variableoscillator.
 69. The method of claim 65, wherein the timing circuitcomprises a variable oscillator.
 70. The method of claim 69, furthercomprising controlling the input signal of the variable oscillator sothat a predetermined number of oscillations occur on the output signalof the variable oscillator between cycles of the signal recorded on thetape.
 71. The method of claim 55, wherein the transport rate is linearvelocity of the relative motion between the head and the tape.